We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc9f1bc + 4409c45 commit 923496cCopy full SHA for 923496c
.github/workflows/stable-release.yaml
@@ -3,10 +3,7 @@
3
4
name: Stable release
5
6
-on:
7
- create:
8
- tags:
9
- - "v*"
+on: workflow_dispatch
10
11
permissions: read-all
12
@@ -48,11 +45,18 @@ jobs:
48
45
- name: Install Helm
49
46
uses: azure/setup-helm@v4
50
47
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v1
51
+ with:
52
+ app-id: ${{ vars.ACTIONS_APP_ID }}
53
+ private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }}
54
+
55
- name: Publish Helm chart
56
uses: stefanprodan/helm-gh-pages@master
57
with:
58
# Access token which can push to a different repo in the same org
- token: ${{ secrets.GH_ACCESS_TOKEN }}
59
+ token: ${{ steps.generate-token.outputs.token }}
60
charts_dir: deployments/
61
# repo where charts would be published
62
owner: 5GSEC
0 commit comments