-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.14 KB
/
release-docs.yaml
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
name: Release Documentation
on:
push:
tags:
- "v*.*.*"
- 'v[0-9]+.[0-9]+.[0-9]+'
create:
tags:
- "v*.*.*"
- 'v[0-9]+.[0-9]+.[0-9]+'
concurrency:
group: docs-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Checkout Helm Chart Repo"
uses: actions/checkout@v4
with:
repository: azarc-io/helm-charts
ref: refs/heads/gh-pages
path: .helm-chart-repo
token: "${{ secrets.HELM_CHARTS_TOKEN }}"
- name: "Publish The Helm Chart"
id: publish-chart
uses: ./.github/actions/chart-publish
with:
charts_dir: .helm-chart-repo
charts_url: "https://azarc-io.github.io/helm-charts"
chart: deployment/charts/gateway
- name: "Commit And Push Chart"
uses: EndBug/add-and-commit@v9
with:
author_name: Wael Jammal
author_email: wael.jammal@azarc.io
cwd: .helm-chart-repo
message: "Commit chart ${{ steps.publish-chart.outputs.chart }}"