From e3f5c231df88ad4d0b53708d44d46010e4cf5e3b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:22:47 +0000 Subject: [PATCH 1/2] Initial plan From 269875c9dcdd1d00952429dc82e8895316279c56 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:26:36 +0000 Subject: [PATCH 2/2] Fix deploy: replace JamesIves action with upload-pages-artifact + deploy-pages --- .github/workflows/render.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml index 86f66e9..9e08240 100644 --- a/.github/workflows/render.yml +++ b/.github/workflows/render.yml @@ -6,6 +6,11 @@ on: pull_request: branches: [ "main" ] +permissions: + contents: read + pages: write + id-token: write + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -49,8 +54,20 @@ jobs: REPO_OWNER: ${{ github.event.pull_request.head.repo.owner.login }} - name: build site run: quarto render . - - name: Deploy + - name: Upload Pages artifact if: github.event_name == 'push' - uses: JamesIves/github-pages-deploy-action@v4 + uses: actions/upload-pages-artifact@v3 with: - folder: docs # The folder the action should deploy. + path: docs + + deploy: + if: github.event_name == 'push' + needs: render_site + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4