Skip to content

Commit c4eff55

Browse files
authored
Merge 823c8e7 into 5811b3f
2 parents 5811b3f + 823c8e7 commit c4eff55

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/release-chart.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
permissions:
21-
contents: read
22-
packages: write
21+
contents: write
2322

2423
steps:
2524
- name: Checkout
@@ -35,16 +34,15 @@ jobs:
3534
run: |
3635
sed -i 's/^version: \(.*\)$/version: \1-${{ github.sha }}/g' charts/housewatch/Chart.yaml
3736
38-
- name: Helm login
37+
- name: Configure Git
3938
run: |
40-
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
41-
42-
- name: Helm package
43-
run: |
44-
helm dependency update charts/housewatch/
45-
helm package charts/housewatch
46-
47-
- name: Helm push
48-
run: |
49-
helm push housewatch-*.tgz oci://ghcr.io/posthog/housewatch/charts
50-
39+
git config user.name "Max Hedgehog"
40+
git config user.email "127861667+max-hedgehog[bot]@users.noreply.github.com"
41+
42+
- name: Run chart-releaser
43+
uses: helm/chart-releaser-action@ed43eb303604cbc0eeec8390544f7748dc6c790d
44+
if: github.repository == 'PostHog/HouseWatch'
45+
env:
46+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
47+
with:
48+
skip_existing: true

0 commit comments

Comments
 (0)