Merge pull request #237 from samixchoumi/feature/update_version_to_th… #181
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 Charts | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'charts/sorry-cypress/Chart.yaml' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: "!contains(toJSON(github.event.commits.*.message), '[skip release]')" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: Install Helm | |
uses: azure/setup-helm@v3.5 | |
with: | |
version: v3.4.0 | |
- name: Add dependency chart repos | |
run: | | |
helm repo add minio https://helm.min.io/ --force-update | |
helm repo add mongodb https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami --force-update | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.5.0 | |
with: | |
charts_dir: charts | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |