Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Helm Chart to GitHub Pages | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # needed to push to gh-pages branch | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.13.3 | |
| - name: Package Helm chart | |
| run: | | |
| mkdir -p charts | |
| helm package helm -d charts | |
| - name: Create index.yaml | |
| run: | | |
| helm repo index charts --url https://open-ug.github.io/conveyor | |
| - name: Publish to GitHub Pages (gh-pages branch) | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./charts | |
| publish_branch: gh-pages |