diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2c8fcc99..cb30c185 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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