-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (48 loc) · 1.4 KB
/
Copy pathrelease.yml
File metadata and controls
57 lines (48 loc) · 1.4 KB
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
name: Release Charts
on:
push:
branches:
- main
paths:
- 'charts/**'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
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 "$GITHUB_ACTOR@users.noreply.github.com"
- name: Prepare docs
run: mkdir -p dist
- name: Converts Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@v4.0.3
with:
source: README.md
output: dist/index.html
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
keep_files: true
- name: Install Helm
uses: azure/setup-helm@v3
- name: Add helm dependencies
continue-on-error: true
run: |
helm repo add tinysystems https://tiny-systems.github.io/module
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add nats-io https://nats-io.github.io/k8s/helm/charts/
helm repo update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_SKIP_EXISTING: true
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"