Browse Source

Add tag filter for chart-* to GitGHub workflow

stefanprodan 10 months ago
parent
commit
b8b08edc78
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      .github/main.workflow

+ 8
- 2
.github/main.workflow View File

@@ -8,9 +8,15 @@ action "helm-lint" {
8 8
   args = ["lint chart/flux"]
9 9
 }
10 10
 
11
-action "helm-gh-pages" {
11
+action "tag-filter" {
12 12
   needs = ["helm-lint"]
13
+  uses = "actions/bin/filter@master"
14
+  args = "tag chart-*"
15
+}
16
+
17
+action "helm-gh-pages" {
18
+  needs = ["tag-filter"]
13 19
   uses = "stefanprodan/gh-actions/helm-gh-pages@master"
14
-  args = ["chart/flux","https://weaveworks.github.io/flux","chart-"]
20
+  args = ["chart/flux","https://weaveworks.github.io/flux"]
15 21
   secrets = ["GITHUB_TOKEN"]
16 22
 }

Loading…
Cancel
Save