From 7d633da99194c0065b0ed7b59c7e567f47ced65d Mon Sep 17 00:00:00 2001 From: Dan Marshall Date: Sat, 10 Jan 2026 11:43:08 -0800 Subject: [PATCH] Add GitHub Actions workflow for Pages PR preview --- .github/workflows/pages-preview.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pages-preview.yml diff --git a/.github/workflows/pages-preview.yml b/.github/workflows/pages-preview.yml new file mode 100644 index 00000000..ff3c440f --- /dev/null +++ b/.github/workflows/pages-preview.yml @@ -0,0 +1,26 @@ +name: Pages PR Preview + +on: + pull_request: + branches: [ main ] + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + contents: read + pull-requests: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - uses: actions/checkout@v4 + - uses: actions/configure-pages@v5 + - uses: actions/upload-pages-artifact@v3 + with: + path: . + - uses: actions/deploy-pages@v4 + id: deployment