Skip to content

qj gpt call 잠시 멈추고, 최적화(관심직무가 db에 있는 경우 db까지만 접근) #97

qj gpt call 잠시 멈추고, 최적화(관심직무가 db에 있는 경우 db까지만 접근)

qj gpt call 잠시 멈추고, 최적화(관심직무가 db에 있는 경우 db까지만 접근) #97

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: deploy
on:
push:
branches: [ main ]
jobs:
deploy:
name: deploy to EC2
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build & Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_PASSWORD }}
script: |
cd ~/kau/backend
pm2 kill
git pull
npm i
cd ~/kau/backend/src
pm2 start app.js