diff --git a/.github/main.workflow b/.github/main.workflow index 174865ca..3765fb06 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -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?"] }