mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-10-15 11:00:04 +00:00
Let the Pages workflow enable Pages itself
Both deploy runs failed at configure-pages with "Get Pages site failed … Not Found": the repo had never had Pages turned on, so there was no Pages site for the action to configure. Set enablement: true so the action creates the Pages site via the API when one does not exist, rather than requiring someone to visit Settings -> Pages and pick the GitHub Actions source by hand. This also means a fresh fork of this repo deploys without manual setup. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016F6MR5mdWYJmZJsZzE7rKu
This commit is contained in:
parent
b7cbe011b9
commit
1d6009957f
5
.github/workflows/pages.yml
vendored
5
.github/workflows/pages.yml
vendored
@ -31,8 +31,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# enablement: true turns Pages on via the API if it is not already
|
||||
# enabled, so a fresh clone or fork of this repo deploys without anyone
|
||||
# having to visit Settings -> Pages first.
|
||||
- name: Configure Pages
|
||||
uses: actions/configure-pages@v5
|
||||
with:
|
||||
enablement: true
|
||||
|
||||
- name: Upload site
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user