From fdbb84a55bc66345ca89cd4fdf80e20bded1876b Mon Sep 17 00:00:00 2001 From: jwinterm Date: Fri, 31 Jul 2026 13:08:56 -0400 Subject: [PATCH] ci: deploy Pages via GitHub Actions (legacy builder stalled on old commit) --- .github/workflows/pages.yml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..27d1304 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,43 @@ +name: Deploy to GitHub Pages + +# Legacy branch-based Pages builds stalled on this repo (stuck rebuilding an old +# commit and never advancing to main's tip). This Actions-based deploy publishes +# the repo root on every push to main — reliable and re-runnable via the Actions +# tab. The CNAME file in the repo root preserves the bauhaus.such.software domain. + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment; a newer push supersedes an in-flight one. +concurrency: + group: pages + cancel-in-progress: true + +jobs: + deploy: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Configure Pages + uses: actions/configure-pages@v5 + + - name: Upload site artifact (repo root) + uses: actions/upload-pages-artifact@v3 + with: + path: . + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4