-
Notifications
You must be signed in to change notification settings - Fork 1
73 lines (71 loc) · 1.93 KB
/
release.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Release Charts
on:
push:
branches:
- main
jobs:
release:
name: Release charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Helm repo
run: |
helm repo add ibissource https://ibissource.github.io/charts/ &&
helm repo add bitnami https://charts.bitnami.com/bitnami &&
helm repo add maykinmedia https://maykinmedia.github.io/charts/
- name: Helm Deps
run: |
for dir in $(ls -d charts/*); do
helm dependency update $dir;
done
- name: Run chart-releaser
uses: helm/[email protected]
continue-on-error: true
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
docs:
needs: release
name: Build documentation
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
env:
NUXT_APP_BASE_URL: /charts/
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Installing project dependencies
run: yarn install
- name: Build site
run: yarn generate
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: frontend/.output/public
target-folder: docs
clean-exclude: |-
.nojekyll
copy:
needs: docs
name: Copy index.yaml
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v3
with:
ref: gh-pages
- name: Copy index.yaml
run: cp index.yaml docs/index.yaml
- uses: stefanzweifel/git-auto-commit-action@v4