Skip to content

Commit 8b46ef5

Browse files
cfsmp3claude
authored andcommitted
fix: Remove unsupported script_stop parameter from deployment workflow
The appleboy/ssh-action no longer supports the `script_stop` parameter. Replace with `set -e` in scripts that need to stop on first error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bd0909d commit 8b46ef5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/sp-deployment-pipeline.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
username: ${{ vars.SSH_USER }}
3030
key: ${{ secrets.SSH_KEY_PRIVATE }}
3131
port: 22
32-
script_stop: true
3332
command_timeout: 2m
3433
envs: INSTALL_FOLDER,SAMPLE_REPOSITORY,DEPLOY_BRANCH
3534
script: |
35+
set -e
3636
echo "=== Pre-deployment checks ==="
3737
cd $INSTALL_FOLDER
3838
@@ -58,10 +58,10 @@ jobs:
5858
username: ${{ vars.SSH_USER }}
5959
key: ${{ secrets.SSH_KEY_PRIVATE }}
6060
port: 22
61-
script_stop: true
6261
command_timeout: 10m
6362
envs: INSTALL_FOLDER,SAMPLE_REPOSITORY,DEPLOY_BRANCH
6463
script: |
64+
set -e
6565
echo "=== Deploying application ==="
6666
cd $INSTALL_FOLDER
6767
@@ -99,7 +99,6 @@ jobs:
9999
username: ${{ vars.SSH_USER }}
100100
key: ${{ secrets.SSH_KEY_PRIVATE }}
101101
port: 22
102-
script_stop: false
103102
command_timeout: 2m
104103
envs: INSTALL_FOLDER
105104
script: |
@@ -139,7 +138,6 @@ jobs:
139138
username: ${{ vars.SSH_USER }}
140139
key: ${{ secrets.SSH_KEY_PRIVATE }}
141140
port: 22
142-
script_stop: false
143141
command_timeout: 5m
144142
envs: INSTALL_FOLDER,SAMPLE_REPOSITORY
145143
script: |
@@ -175,7 +173,6 @@ jobs:
175173
username: ${{ vars.SSH_USER }}
176174
key: ${{ secrets.SSH_KEY_PRIVATE }}
177175
port: 22
178-
script_stop: false
179176
command_timeout: 30s
180177
envs: INSTALL_FOLDER
181178
script: |

0 commit comments

Comments
 (0)