mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
34 lines
784 B
HCL
34 lines
784 B
HCL
workflow "Lint & Publish Helm chart" {
|
|
resolves = [
|
|
"Package Helm Chart(s)",
|
|
"Pull Request Linting",
|
|
]
|
|
on = "push"
|
|
}
|
|
|
|
action "Package Helm Chart(s)" {
|
|
uses = "billimek/gh-actions/helm-gh-pages@master"
|
|
args = "https://billimek.com/billimek-charts/"
|
|
secrets = ["GITHUB_TOKEN"]
|
|
needs = ["Filter for master"]
|
|
}
|
|
|
|
action "Pull Request Linting" {
|
|
uses = "billimek/gh-actions/helm-gh-pages@master"
|
|
args = "https://billimek.com/billimek-charts/"
|
|
secrets = ["GITHUB_TOKEN"]
|
|
needs = ["Filter for not master"]
|
|
}
|
|
|
|
action "Filter for master" {
|
|
uses = "actions/bin/filter@master"
|
|
args = "branch master"
|
|
secrets = ["GITHUB_TOKEN"]
|
|
}
|
|
|
|
action "Filter for not master" {
|
|
uses = "actions/bin/filter@master"
|
|
args = "not branch master"
|
|
secrets = ["GITHUB_TOKEN"]
|
|
}
|