Merge pull request #902 from syucream/fix/try-publishing-npm-package #58
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: release helm | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
- run: helm repo add mysql-innodbcluster https://mysql.github.io/mysql-operator/ | |
- run: helm repo add elasticsearch https://helm.elastic.co | |
- run: helm repo add rabbitmq https://charts.bitnami.com/bitnami | |
- name: Build dependencies chart | |
run: helm dependency build helm | |
- name: Configure Git | |
run: | | |
git config user.name "inf-dev" | |
git config user.email "[email protected]" | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_dir: . | |
config: helm/cr.yaml | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |