This repository has been archived by the owner on May 14, 2024. It is now read-only.
fix : 대댓글 무한스크롤 에러 수정 (#244) #313
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 |