Merge pull request #29 from kestra-io/chore/release-0-15-0 #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |