Skip to content

๐Ÿฉน ๊ต๊ณผ๋ชฉ ๋ณ€๊ฒฝ๋‚ด์—ญ ์ธ์ž ์ „๋‹ฌ ์˜ค๋ฅ˜ ์ˆ˜์ • (#117) #166

๐Ÿฉน ๊ต๊ณผ๋ชฉ ๋ณ€๊ฒฝ๋‚ด์—ญ ์ธ์ž ์ „๋‹ฌ ์˜ค๋ฅ˜ ์ˆ˜์ • (#117)

๐Ÿฉน ๊ต๊ณผ๋ชฉ ๋ณ€๊ฒฝ๋‚ด์—ญ ์ธ์ž ์ „๋‹ฌ ์˜ค๋ฅ˜ ์ˆ˜์ • (#117) #166

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