Skip to content

Commit

Permalink
test: stopping on error
Browse files Browse the repository at this point in the history
  • Loading branch information
printSANO committed Jan 7, 2025
1 parent ba482be commit bba1a22
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- name: Deploy to Server
id: deploy
uses: appleboy/[email protected]
continue-on-error: false
script_stop: true
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
Expand Down Expand Up @@ -105,6 +107,8 @@ jobs:
if: ${{ github.event.inputs.replicas }} == "1"
id: scale_down
uses: appleboy/[email protected]
continue-on-error: false
script_stop: true
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion scale_crawler.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

set -e
docker service scale techeerzip_crawler=1
2 changes: 1 addition & 1 deletion scale_nest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

set -e
timeout 60s docker service scale techeerzip_nest=1
2 changes: 1 addition & 1 deletion scale_parser.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

set -e
docker service scale techeerzip_parser=1

0 comments on commit bba1a22

Please sign in to comment.