forked from 5GSEC/nimbus
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.02 KB
/
latest-charts-release.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
# SPDX-License-Identifier: Apache-2.0
# Copyright 2023 Authors of Nimbus
name: Release Charts
on:
push:
branches:
- main
- "v*"
paths:
- "deployments/**"
create:
branches:
- "v*"
jobs:
release:
if: github.repository == '5GSEC/nimbus'
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Install Helm
uses: azure/setup-helm@v3
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@master
with:
# Access token which can push to a different repo in the same org
token: ${{ secrets.GH_ACCESS_TOKEN }}
charts_dir: deployments/
# repo where charts would be published
owner: 5GSEC
repository: charts
branch: gh-pages
charts_url: https://5gsec.github.io/charts/
commit_username: "github-actions[bot]"
commit_email: "github-actions[bot]@users.noreply.github.com"