From 6e055e4d41cf894ab294a0589931449b25ecf187 Mon Sep 17 00:00:00 2001 From: Twinki Date: Sun, 28 Jan 2024 12:00:10 -0500 Subject: [PATCH] Add inital GitHub pages # Motivations A helm repository, in GitHub pages # Modifications - Add a workflow to publish the `gh-pages` branch to GitHub pages on Push - Add `index.html` which simply links to the helm repository `index.yaml` (When it gets created by a release) --- .github/workflows/pages.yml | 40 +++++++++++++++++++++++++++++++++++++ index.html | 7 +++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 index.html diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 000000000..6583fe8df --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,40 @@ +name: Pages + +on: + push: + branches: ["gh-pages"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + deploy: + 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@v4 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: "." + + - name: Deploy - Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/index.html b/index.html new file mode 100644 index 000000000..ce58eb96e --- /dev/null +++ b/index.html @@ -0,0 +1,7 @@ + + + + + Index index.yaml + +