Skip to content

Commit

Permalink
fix kill command
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-debbech committed Jan 2, 2025
1 parent 138e179 commit 024e7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "${{ secrets.MongoUrl }}" >> mongo/creds
go get .
go build -v .
ssh ${{ secrets.USERNAME }}@${{ secrets.HOST }} "kill -9 \$(cat ~/backend.pid)"
ssh ${{ secrets.USERNAME }}@${{ secrets.HOST }} "kill -9 \$(cat ~/backend.pid)" || true
scp backend ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/home/${{ secrets.USERNAME }}
continue-on-error: true

Expand Down

0 comments on commit 024e7cf

Please sign in to comment.