Commit c1a8959
fix: configure GitHub Pages to use Actions workflow source (#113)
* fix: configure GitHub Pages to use Actions workflow source
Add `actions/configure-pages@v4` step to the build job so the workflow
self-configures the Pages source on every non-PR run. This prevents
silent regression if someone switches Pages settings back to legacy mode
in the UI.
The immediate fix (switching build_type from legacy to workflow via the
GitHub API) has already been applied to the repo settings.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: move configure-pages step to deploy job
Per review feedback, configure-pages only needs to run when deploying.
Moving it to the deploy job (which already has the Pages write/OIDC
permissions and the non-PR guard) follows least-privilege and avoids
configuring Pages on runs where deployment is skipped.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b282a9a commit c1a8959
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
0 commit comments