Skip to content

Commit

Permalink
Merge branch 'main' into coco-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
VedRatan authored Jul 1, 2024
2 parents 3a435fb + 4409c45 commit b3afa1d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/stable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

name: Stable release

on:
create:
tags:
- "v*"
on: workflow_dispatch

permissions: read-all

Expand Down Expand Up @@ -48,11 +45,18 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v4

- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.ACTIONS_APP_ID }}
private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }}

- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@master
with:
# Access token which can push to a different repo in the same org
token: ${{ secrets.GH_ACCESS_TOKEN }}
token: ${{ steps.generate-token.outputs.token }}
charts_dir: deployments/
# repo where charts would be published
owner: 5GSEC
Expand Down

0 comments on commit b3afa1d

Please sign in to comment.