From eb13e2445dac82af7df9169f853550c19a1a8c43 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 30 Apr 2026 22:08:03 +0700 Subject: [PATCH] fix(ci): enable Pages auto-enrollment in configure-pages First-run failed because the repository had no Pages site yet and configure-pages@v5 defaults to enablement: false. Setting it to true lets the action create the Pages site on first deploy and removes the manual Settings -> Pages UI step. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index db604f1..2e9ed37 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,6 +39,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/configure-pages@v5 + with: + enablement: true - uses: actions/upload-pages-artifact@v3 with: