Repository navigation
fix: Remove unsupported script_stop parameter from deployment workflow - #994
Merged
Merged
Conversation
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>
cfsmp3
requested review from
canihavesomecoffee and
thealphadollar
as code owners
January 3, 2026 12:33
The health check was failing with 301 because nginx redirects HTTP to HTTPS. Adding -L makes curl follow the redirect and get the actual health endpoint response. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
canihavesomecoffee
approved these changes
Jan 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
script_stopparameter from all SSH action steps in the deployment workflowset -eto scripts that previously usedscript_stop: trueto maintain exit-on-error behavior-Lflag to curl inpost_deploy.shso it follows HTTP→HTTPS redirectsProblem
Two issues were causing deployment failures:
script_stop parameter: The
appleboy/ssh-actionno longer supports thescript_stopparameter:301 redirect: The health check was getting HTTP 301 because nginx redirects HTTP to HTTPS, but curl wasn't following the redirect:
curl http://127.0.0.1/health→ 301 redirectSee: https://github.com/CCExtractor/sample-platform/actions/runs/20676857945/job/59365631342
Test plan
🤖 Generated with Claude Code