From 02236faba9f0e8a7b643b107e62df8e4d49322ee Mon Sep 17 00:00:00 2001 From: David Grove Date: Tue, 17 Sep 2024 14:32:00 -0400 Subject: [PATCH] Attempt to consolidate helm chart publishing actions --- .github/workflows/release-chart.yaml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index 4ecf435..67369fa 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -6,6 +6,10 @@ on: tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 +concurrency: + group: "pages" + cancel-in-progress: false + jobs: release: permissions: @@ -33,3 +37,32 @@ jobs: skip_existing: true env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + + deploy: + needs: release + permissions: + contents: read + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: gh-pages + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4