From 0a083e3af2120f7f16d13dbaf9b66619961149ec Mon Sep 17 00:00:00 2001 From: S Master <155565310+SMASTER4@users.noreply.github.com> Date: Tue, 6 Aug 2024 16:14:43 +0000 Subject: [PATCH] doc: add deploy-content-pages.yml --- .github/workflows/deploy-content-pages.yml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/deploy-content-pages.yml diff --git a/.github/workflows/deploy-content-pages.yml b/.github/workflows/deploy-content-pages.yml new file mode 100644 index 0000000..9c95c3a --- /dev/null +++ b/.github/workflows/deploy-content-pages.yml @@ -0,0 +1,37 @@ +name: Deploy content to Pages + +on: + push: + branches: ["main"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - 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