Skip to content

๐Ÿ’„ ๋ฐ”๋กœ๊ฐ€๊ธฐ ๋ฐฐ๋„ˆ ํ˜ธ๋ฒ„ ์ถ”๊ฐ€ (#113) #162

๐Ÿ’„ ๋ฐ”๋กœ๊ฐ€๊ธฐ ๋ฐฐ๋„ˆ ํ˜ธ๋ฒ„ ์ถ”๊ฐ€ (#113)

๐Ÿ’„ ๋ฐ”๋กœ๊ฐ€๊ธฐ ๋ฐฐ๋„ˆ ํ˜ธ๋ฒ„ ์ถ”๊ฐ€ (#113) #162

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