Skip to content

Instantly share code, notes, and snippets.

@adikari
Created December 5, 2020 14:33
Show Gist options
  • Save adikari/744142fed614c9262972b59f3ffcd9ea to your computer and use it in GitHub Desktop.
Save adikari/744142fed614c9262972b59f3ffcd9ea to your computer and use it in GitHub Desktop.
foo service merge pipeline
steps:
- label: "Run sanity checks"
command:
- "echo linting"
- "echo testing"
- label: "Deploy to staging"
trigger: "foo-deploy"
build:
env:
STAGE: "staging"
- wait
- block: ":rocket: Release to Production"
- label: "Deploy to production"
trigger: "foo-deploy"
build:
env:
STAGE: "production"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment