Skip to content

Instantly share code, notes, and snippets.

@leomelzer
Created January 8, 2019 09:29
Show Gist options
  • Save leomelzer/b24a595cdb6381ed9c66feb46982e3ae to your computer and use it in GitHub Desktop.
Save leomelzer/b24a595cdb6381ed9c66feb46982e3ae to your computer and use it in GitHub Desktop.
The textual representation of the workflow, `main.workflow`.
workflow "Deploy to Now" {
on = "push"
resolves = [
"Alias",
"Filter out master branch",
]
}
action "Deploy" {
uses = "actions/zeit-now@master"
secrets = ["ZEIT_TOKEN"]
args = "--team peerigon"
}
action "Alias" {
uses = "actions/zeit-now@master"
args = "alias --team peerigon"
secrets = ["ZEIT_TOKEN"]
needs = ["Filter out master branch"]
}
action "Filter out master branch" {
uses = "actions/bin/filter@master"
needs = ["Deploy"]
args = "branch master"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment