Let the Pages deploy enable Pages itself

The first run failed at configure-pages because the repository had no Pages
site yet. The deploy job already holds pages: write, so it can create one
instead of the setting having to be flipped by hand.
This commit is contained in:
Domingo Dirutigliano 2026-09-03 09:37:48 +02:00
parent 08d83e0041
commit b95b87977b
No known key found for this signature in database

View File

@ -62,6 +62,10 @@ jobs:
steps:
- name: Configure Pages
uses: actions/configure-pages@v5
with:
# Turns Pages on (source: GitHub Actions) the first time this runs, so the
# repository needs no manual switch flipped in Settings.
enablement: true
- name: Deploy
id: deployment