Publish Helm artifact #21
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 artifact | |
| on: | |
| schedule: | |
| - cron: "0 1 * * 1,5" # Every Mon and Fri at 1AM UTC | |
| workflow_dispatch: | |
| run-name: Publish Helm artifact ${{ inputs.release_version }} | |
| env: | |
| GIT_USER: ${{ secrets.GIT_USER }} | |
| GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} | |
| jobs: | |
| helm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Publish Helm artifact to "gh-pages" branch | |
| run: | | |
| make helm-artifacts-publish \ | |
| -e GIT_CONFIG_USER_NAME="$GIT_CONFIG_USER_NAME" \ | |
| -e GIT_CONFIG_USER_EMAIL="$GIT_CONFIG_USER_EMAIL" \ | |
| env: | |
| GIT_CONFIG_USER_NAME: "${{ github.actor }}" | |
| GIT_CONFIG_USER_EMAIL: "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" |