Skip to content

Instantly share code, notes, and snippets.

@pr1ntr
Created March 9, 2018 21:48
Show Gist options
  • Save pr1ntr/82fb90a388b93a8b5039e0c398b38ab3 to your computer and use it in GitHub Desktop.
Save pr1ntr/82fb90a388b93a8b5039e0c398b38ab3 to your computer and use it in GitHub Desktop.
how to condition?
- provider: script
skip_cleanup: true
script: scripts/deploy.sh
on:
all_branches: true
condition:
- "$DEST == production"
- "$DEST == staging"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment