-
Notifications
You must be signed in to change notification settings - Fork 27
42 lines (37 loc) · 1.11 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
name: Helm Publish
on:
push:
branches:
- master
jobs:
build:
name: Helm Publish
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v4
# Copy for helm
- name: Add some files
run: |
cp LICENSE charts/kestra/LICENSE
cp README.md charts/kestra/README.md
- uses: J12934/[email protected]
with:
access-token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
charts-folder: "charts"
deploy-branch: gh-pages
# Slack
- name: Slack notification
uses: 8398a7/action-slack@v3
if: ${{ always() && env.SLACK_WEBHOOK_URL != 0 }}
with:
status: ${{ job.status }}
job_name: Helm Publish
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
username: GitHub Actions
icon_emoji: ':github-actions:'
channel: 'C02DQ1A7JLR'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}