From b95b87977bcf1513aa2eec096ac09680f4871a65 Mon Sep 17 00:00:00 2001 From: Domingo Dirutigliano Date: Thu, 3 Sep 2026 09:37:48 +0200 Subject: [PATCH] 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. --- .github/workflows/demo-pages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/demo-pages.yml b/.github/workflows/demo-pages.yml index 357d953..3ec45a7 100644 --- a/.github/workflows/demo-pages.yml +++ b/.github/workflows/demo-pages.yml @@ -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