Skip to content

Merge pull request #1 from jessebot/fix-deployment-to-grab-secret #2

Merge pull request #1 from jessebot/fix-deployment-to-grab-secret

Merge pull request #1 from jessebot/fix-deployment-to-grab-secret #2

name: Release
on:
push:
branches:
- main
paths:
- 'charts/**'
jobs:
release:
environment: helm-release
permissions:
contents: write
runs-on: ubuntu-latest
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 "[email protected]"
- name: Install Helm
uses: azure/[email protected]
id: helm-install
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Add dependency chart repos
run: |
helm dep update charts/matrix-sliding-sync
- name: Run chart-releaser
id: helm-release
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_GENERATE_RELEASE_NOTES: true