Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrisgilbert/373f08fa14e591b066ae498d99a2e598 to your computer and use it in GitHub Desktop.
Save chrisgilbert/373f08fa14e591b066ae498d99a2e598 to your computer and use it in GitHub Desktop.
seed.yml file
before_compile:
- echo "Before compile"
stage_name_constructor: >
node seed/sanitise-branch.js "$SEED_STAGE_BRANCH" 2>/dev/null
if [[ $? -ne 0 ]]; then
echo "test-branch"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment