From 37f5bf8e2ce09645eab5ccff1c9a137907f95ccc Mon Sep 17 00:00:00 2001 From: tintando Date: Tue, 6 Oct 2026 22:31:40 +0200 Subject: [PATCH] Deploy to Cloudflare Pages only button-pusher.tintan.do is verified, so the GitHub Pages deploy job and its artifact go; GitHub Pages is disabled for the repository. --- .github/workflows/pages.yaml | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 89e1285..2d20dad 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -37,17 +37,10 @@ jobs: # Nothing to build. The page is index.html, src/ and vendor/, all of it # loaded by relative path, so it works at the root of - # button-pusher.tintan.do and under /button-pusher/ on GitHub Pages - # alike. Those three and 404.html are copied out as they are, and the - # tools, docs and local server stay out of the site. + # button-pusher.tintan.do. Those three and 404.html are copied out as + # they are, and the tools, docs and local server stay out of the site. - run: mkdir _site && cp -r index.html 404.html src vendor _site/ - # The same _site/ twice: once in the shape deploy-pages wants, once as a - # plain artifact for the Cloudflare job. The first goes with GitHub Pages. - - uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0 - with: - path: _site - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: site @@ -55,20 +48,6 @@ jobs: if-no-files-found: error retention-days: 1 - # GitHub Pages, kept until button-pusher.tintan.do is verified, then removed. - deploy: - needs: build - runs-on: ubuntu-latest - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - id: deployment - uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 - # Cloudflare Pages, served at button-pusher.tintan.do. The job has no GitHub # token permissions at all: it downloads this run's artifact and hands it to # wrangler, nothing more. A manual run from another branch, or a run in a