mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +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" {
|
||||
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?"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user