From e01cec2f553ee5cce27122dd1d100b042a41308b Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Mon, 16 Oct 2023 08:21:54 -0700 Subject: [PATCH] Create static.yml --- .github/workflows/static.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..be903c0 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,35 @@ +name: Deploy static content to Pages + +on: + push: + branches: ["master"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2