Skip to content

Commit

Permalink
build: Fix index.yaml generation (#63)
Browse files Browse the repository at this point in the history
Fixes #62
  • Loading branch information
keelerm84 authored Apr 4, 2024
1 parent ac6af98 commit 4495711
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ runs:
- name: Package the helm chart
shell: bash
run: make package
run: |
mkdir -p new_chart
helm package -d new_chart .
- name: Generate updated index.yaml
shell: bash
run: helm repo index . --url https://launchdarkly.github.io/ld-relay-helm --merge helm-repo/index.yaml
run: helm repo index new_chart --url https://launchdarkly.github.io/ld-relay-helm --merge helm-repo/index.yaml

- name: Move files into publishable directory
shell: bash
run: mv ${{ steps.version.outputs.ARTIFACT }} index.yaml helm-repo
run: mv new_chart/${{ steps.version.outputs.ARTIFACT }} new_chart/index.yaml helm-repo

- name: Publish to GitHub pages
if: ${{ inputs.dry_run == 'false' }}
Expand Down

0 comments on commit 4495711

Please sign in to comment.