Skip to content

๐Ÿ’„ ๋ชฉ๋ก๊ณผ ๋ฉ”์ธ ๊ธ€์ž ์ˆ˜์ • (#110) #159

๐Ÿ’„ ๋ชฉ๋ก๊ณผ ๋ฉ”์ธ ๊ธ€์ž ์ˆ˜์ • (#110)

๐Ÿ’„ ๋ชฉ๋ก๊ณผ ๋ฉ”์ธ ๊ธ€์ž ์ˆ˜์ • (#110) #159

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: SSH Remote Commands
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{secrets.SSH_HOST}}
username: ${{secrets.SSH_USER}}
key: ${{secrets.SSH_KEY}}
script: |
cd ~/csereal-web
git pull
npm i
npm run build
pm2 restart csereal_front