Skip to content

Commit 7c98377

Browse files
authored
Merge branch 'main' into coco-e2e
2 parents 9af2559 + 4409c45 commit 7c98377

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/stable-release.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
name: Stable release
55

6-
on:
7-
create:
8-
tags:
9-
- "v*"
6+
on: workflow_dispatch
107

118
permissions: read-all
129

@@ -48,11 +45,18 @@ jobs:
4845
- name: Install Helm
4946
uses: azure/setup-helm@v4
5047

48+
- name: Generate a token
49+
id: generate-token
50+
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+
5155
- name: Publish Helm chart
5256
uses: stefanprodan/helm-gh-pages@master
5357
with:
5458
# Access token which can push to a different repo in the same org
55-
token: ${{ secrets.GH_ACCESS_TOKEN }}
59+
token: ${{ steps.generate-token.outputs.token }}
5660
charts_dir: deployments/
5761
# repo where charts would be published
5862
owner: 5GSEC

0 commit comments

Comments
 (0)