Skip to content

Commit

Permalink
Adding new deploy-backend.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Frnn4268 committed May 29, 2024
1 parent 1405e84 commit 01370b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
env:
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST1 }}
working-directory: server
host-2:
runs-on: chat-easypark-deploy
steps:
Expand Down Expand Up @@ -88,5 +87,4 @@ jobs:
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST2 }} 'pm2 delete backend && pm2 start index.js --name backend'
env:
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST2 }}
working-directory: server
SSH_HOST: ${{ secrets.SSH_HOST2 }}

0 comments on commit 01370b8

Please sign in to comment.