Removed branch from reusable workflow call (#241) #115
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: Helm Release Workflow | |
| on: | |
| push: | |
| paths: | |
| - 'charts/pdp/Chart.yaml' | |
| jobs: | |
| helm-release: | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/v2' | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git | |
| run: | | |
| git config user.name "elimoshkovich" | |
| git config user.email "eli@permit.io" | |
| - name: Install Helm | |
| uses: azure/setup-helm@v3 | |
| - name: Run chart-releaser | |
| uses: helm/chart-releaser-action@v1.6.0 | |
| env: | |
| CR_TOKEN: "${{ secrets.PAGES }}" | |
| with: | |
| skip_existing: true | |
| mark_as_latest: false |