forked from caraml-dev/turing
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 991 Bytes
/
helm-chart.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
name: helm-chart
on:
push:
paths:
- ".github/workflows/helm-chart.yaml"
- "api/db-migrations/**"
- "infra/charts/**"
branches:
- main
workflow_dispatch:
inputs:
owner:
description: The GitHub user or org that owns this repository
type: string
required: true
repository:
description: The GitHub repository
type: string
required: true
default: "charts"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run chart-releaser
uses: stefanprodan/[email protected]
with:
token: "${{ secrets.GH_PAGES_TOKEN }}"
charts_dir: infra/charts
owner: "${{ github.event.inputs.owner || 'turing-ml' }}"
repository: "${{ github.event.inputs.repository || 'charts' }}"
commit_username: ${{ github.actor }}
commit_email: "${{ github.actor }}@users.noreply.github.com"