This repository has been archived by the owner on May 14, 2024. It is now read-only.
[Fix] 일지를 정상적으로 불러오지 못하는 문제를 수정하라 (#149) #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Development Server Deploy | |
on: | |
push: | |
branches: | |
- feature/#32 | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: SSH | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USER }} | |
password: ${{ secrets.SSH_PASSWORD }} | |
script: | | |
cd /root/hereyou | |
git pull | |
npm install | |
npm run build | |
pm2 restart all |