Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Github Action to fail if command in ssh fails #1838

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

bitwiseguy
Copy link
Contributor

@bitwiseguy bitwiseguy commented Nov 14, 2023

set -e at beginning of SSH block causes the shell to exit if any individual command exits with a non-zero status. Confirmed that the Github Action job fails when the docker login command inside the ssh session fails in this test run: https://github.com/statechannels/go-nitro/actions/runs/6867800403

Copy link

netlify bot commented Nov 14, 2023

Deploy Preview for nitro-payment-demo canceled.

Name Link
🔨 Latest commit 39a2069
🔍 Latest deploy log https://app.netlify.com/sites/nitro-payment-demo/deploys/6553bcb4575c830008cd7a26

Copy link

netlify bot commented Nov 14, 2023

👷 Deploy Preview for nitrodocs processing.

Name Link
🔨 Latest commit 39a2069
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/6553bcb4847f4d00082afa85

@bitwiseguy bitwiseguy merged commit 64c4ee9 into main Nov 14, 2023
7 checks passed
@bitwiseguy bitwiseguy deleted the fix-ga-ssh branch November 14, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants