add precondition check before packaging step

This commit is contained in:
Jeff Billimek 2019-05-15 11:49:15 -04:00 committed by GitHub
parent 71eb8b4ed7
commit f45bf6662b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/main.workflow vendored
View File

@ -1,10 +1,18 @@
workflow "Publish Helm chart" {
on = "push"
resolves = ["Helm gh-pages"]
resolves = [
"Package Helm Chart(s)",
]
}
action "Helm gh-pages" {
uses = "billimek/gh-actions/helm-gh-pages@master"
args = [".", "https://billimek.com/billimek-charts/"]
secrets = ["GITHUB_TOKEN"]
action "Chart.yaml changed?" {
uses = "docker://cdssnc/touched-github-action"
args = "\"{**Chart.yaml}\""
}
action "Package Helm Chart(s)" {
uses = "billimek/gh-actions/helm-gh-pages@master"
secrets = ["GITHUB_TOKEN"]
args = "[\".\",\"https://billimek.com/billimek-charts/\"]"
needs = ["Chart.yaml changed?"]
}