From ad5ae929500fa241630343d325751eaba94ee4c2 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 25 Nov 2025 00:04:37 -0500 Subject: [PATCH] ci: retreat to `actions/deploy-pages` site is totally broken after ec85818c2d09 --- .github/workflows/deploy.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 495e99b..6ea3b19 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -28,8 +28,8 @@ jobs: # Deployment job build-and-deploy: runs-on: ubuntu-latest - permissions: - contents: write + # permissions: + # contents: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -43,9 +43,10 @@ jobs: uses: ./.github/actions/build-site env: BASE_URL: "${{ steps.pages.outputs.base_url }}/" + - name: Upload artifact + uses: actions/upload-pages-artifact@v4 + with: + path: ./public - name: Deploy id: deployment - uses: peaceiris/actions-gh-pages@v4 - with: - publish_dir: ./public - github_token: ${{ secrets.GITHUB_TOKEN }} + uses: actions/deploy-pages@v4