From 98600b7c0003df6d699479e8faf288d98808e7c6 Mon Sep 17 00:00:00 2001 From: drulu Date: Tue, 21 Jul 2026 15:37:08 +0800 Subject: [PATCH 1/2] fix: enable Pages from the deploy job --- .github/workflows/pages.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c0cb118..cb6542b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -32,8 +32,6 @@ jobs: FAUST_GITHUB_BRANCH: ${{ github.event.repository.default_branch }} FAUST_SITE: https://${{ github.repository_owner }}.github.io FAUST_BASE: /${{ github.event.repository.name }} - - if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch - uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 - if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 with: @@ -51,6 +49,10 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: + - name: Configure GitHub Pages + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 + with: + enablement: true - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 From 2641bdacbf21fb52925b59399337b2a8983615e9 Mon Sep 17 00:00:00 2001 From: drulu Date: Tue, 21 Jul 2026 15:39:21 +0800 Subject: [PATCH 2/2] fix: require Pages setup outside the workflow --- .github/workflows/pages.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index cb6542b..4bfa043 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -49,10 +49,9 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: + # Repository Pages settings must use GitHub Actions as the source. - name: Configure GitHub Pages uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 - with: - enablement: true - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4