forked from kubernetes-sigs/node-feature-discovery
-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (31 loc) · 880 Bytes
/
release.yml
File metadata and controls
37 lines (31 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: gh-pages
on:
release:
types: [published, edited]
concurrency:
group: gh-pages
cancel-in-progress: false
permissions:
contents: read
jobs:
update-helm-repo:
name: Update gh-pages helm repo index
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: 3.12.3
- name: Check out repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Update repo index
run: |
git config user.name "Github Actions"
git config user.email "no-reply@github.com"
./scripts/github/update-helm-repo.sh ${{ join(github.event.release.assets.*.browser_download_url, ' ') }}
- name: Push
run: git push -f https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} gh-pages