From 3730a09362a46a5c09294b98ab7796e4ba55f64e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 23 Jun 2026 01:31:34 +0000 Subject: [PATCH] pages: serve site/ as the single deployer; drop sample Jekyll workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repo now has Pages enabled (source: GitHub Actions). Remove the auto-generated jekyll-gh-pages.yml sample — it builds Jekyll from the repo root (which would serve the README, not our landing page) and races our deployer on the same 'pages' concurrency group. pages.yml uploads the purpose-built site/ directory; drop the enablement flag (the default Actions token can't create the Pages site, and it's already enabled). Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_012CrMioorha3QtPUgWbtDbR --- .github/workflows/jekyll-gh-pages.yml | 51 --------------------------- .github/workflows/pages.yml | 6 ++-- 2 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml deleted file mode 100644 index 67be9b0..0000000 --- a/.github/workflows/jekyll-gh-pages.yml +++ /dev/null @@ -1,51 +0,0 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v5 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: ./ - destination: ./_site - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v5 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 31bb70e..52b1ce7 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -26,11 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # Pages must be enabled once with source "GitHub Actions" + # (Settings → Pages). The default Actions token cannot enable it itself. - uses: actions/configure-pages@v5 - with: - # Enable GitHub Pages (build type "workflow") automatically, so no - # manual Settings → Pages toggle is required. - enablement: true - uses: actions/upload-pages-artifact@v3 with: path: site