File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments