Update build-and-publish.yml

This commit is contained in:
Tommy 2023-12-25 19:26:30 +01:00
parent e68832c369
commit 0a59aeeab5
No known key found for this signature in database

View file

@ -3,7 +3,7 @@ name: Chart Releases
on:
push:
branches:
- main
- main
paths:
- 'charts/**'
# tags:
@ -17,26 +17,27 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- 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
- name: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
skip_existing: "true"
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"