Skip to content

Commit

Permalink
Attempt to consolidate helm chart publishing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss committed Sep 17, 2024
1 parent 1241c1e commit 02236fa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 02236fa

Please sign in to comment.