Skip to content

Instantly share code, notes, and snippets.

@GrantBirki
Created May 19, 2022 03:22
Show Gist options
  • Save GrantBirki/2c6f14799c480653bd6f7d4d1b967aa6 to your computer and use it in GitHub Desktop.
Save GrantBirki/2c6f14799c480653bd6f7d4d1b967aa6 to your computer and use it in GitHub Desktop.
Branch Deploy Segment #5
# Do some fake "noop" deployment logic here
# conditionally run a noop deployment
- name: fake noop deploy
if: ${{ steps.branch-deploy.outputs.continue == 'true' && steps.branch-deploy.outputs.noop == 'true' }}
run: echo "I am doing a fake noop deploy"
# Do some fake "regular" deployment logic here
# conditionally run a regular deployment
- name: fake regular deploy
if: ${{ steps.branch-deploy.outputs.continue == 'true' && steps.branch-deploy.outputs.noop != 'true' }}
run: echo "I am doing a fake regular deploy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment