mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
add precondition check before packaging step
This commit is contained in:
parent
71eb8b4ed7
commit
f45bf6662b
18
.github/main.workflow
vendored
18
.github/main.workflow
vendored
@ -1,10 +1,18 @@
|
|||||||
workflow "Publish Helm chart" {
|
workflow "Publish Helm chart" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = ["Helm gh-pages"]
|
resolves = [
|
||||||
|
"Package Helm Chart(s)",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Helm gh-pages" {
|
action "Chart.yaml changed?" {
|
||||||
uses = "billimek/gh-actions/helm-gh-pages@master"
|
uses = "docker://cdssnc/touched-github-action"
|
||||||
args = [".", "https://billimek.com/billimek-charts/"]
|
args = "\"{**Chart.yaml}\""
|
||||||
secrets = ["GITHUB_TOKEN"]
|
}
|
||||||
|
|
||||||
|
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?"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user