Skip to content

Commit 8519348

Browse files
authored
feat: enable manual trigger to publish helm chart (#128)
1 parent 1eb5724 commit 8519348

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/helm-publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
paths:
88
- 'helm/sway-playground/Chart.yaml'
9-
9+
workflow_dispatch:
1010
permissions:
1111
contents: read
1212

@@ -16,7 +16,7 @@ jobs:
1616
runs-on: buildjet-4vcpu-ubuntu-2204
1717
if: |
1818
(github.event_name == 'release' && github.event.action == 'published') ||
19-
github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
19+
github.ref == 'refs/heads/master' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
2020
permissions:
2121
contents: read
2222
packages: write
@@ -33,4 +33,4 @@ jobs:
3333
username: ${{ github.repository_owner }}
3434
access-token: ${{ secrets.GITHUB_TOKEN }}
3535
force: true
36-
chart-folder: ./helm/sway-playground
36+
chart-folder: ./helm/sway-playground

0 commit comments

Comments
 (0)