Skip to content

Commit

Permalink
Modify: yml 파일
Browse files Browse the repository at this point in the history
  • Loading branch information
sw0501 committed Oct 21, 2023
1 parent 69f3d00 commit b787508
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- closed

jobs:
name: Backend Merge
if_merged:
if: github.event.pull_request.merged == true && github.head_ref == 'Backend'
runs-on: ubuntu-latest
Expand All @@ -17,5 +18,8 @@ jobs:
#passphrase: ${{ secrets.PASSPHRASE }}
port: 22
script: |
pwd
cd ${{ secrets.PWD }}
git pull origin main
cd ${{ secrets.PWD }}/BackendJS/BackendTS
npm install
pm2 restart Traffic

0 comments on commit b787508

Please sign in to comment.