FEAT : 무한 스크롤 구현 #43
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: dev branch auto ci process script | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy: | |
name: deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: excuting remote ssh commands | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.REMOTE_IP }} | |
username: ${{ secrets.REMOTE_USER }} | |
key: ${{ secrets.REMOTE_PRIVATE_KEY }} | |
port: ${{ secrets.REMOTE_SSH_PORT }} | |
script: | | |
cd kickoff | |
git fetch --all | |
git reset --hard origin/main | |
npm i --force | |
npm run build | |
sudo node server.js > /dev/null 2>&1 & |