Skip to content

Commit aacae9f

Browse files
committed
feat: Add GitHub Actions workflow for Helm chart automation
1 parent 2cf94fa commit aacae9f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/pages.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release Helm Chart
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '.github/workflows/pages.yaml'
9+
- 'charts/**'
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Helm
19+
uses: azure/setup-helm@v3
20+
with:
21+
version: v3.13.3
22+
23+
- name: Create Helm index
24+
run: |
25+
mkdir -p ./gh-pages
26+
helm package charts/* --destination ./gh-pages
27+
helm repo index ./gh-pages --url https://es6kr.github.io/nginx-cert-issuers
28+
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./gh-pages
34+
publish_branch: gh-pages

0 commit comments

Comments
 (0)