From 0a2f9ef237bd40c370aa9c6616dc66c508aa9a2e Mon Sep 17 00:00:00 2001 From: sHa Date: Thu, 16 Jul 2026 13:07:09 +0300 Subject: [PATCH] Publish site via GitHub Pages with custom domain Adds a GitHub Actions workflow that deploys site/flapjack-brothers on every push to main, and a CNAME file for flapjack.p9o.uk. Pages is configured on the repo to build via Actions, matching this workflow. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/pages.yml | 40 ++++++++++++++++++++++++++++++++++++ site/flapjack-brothers/CNAME | 1 + 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 site/flapjack-brothers/CNAME diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..4ad0fc1 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,40 @@ +name: Deploy site to GitHub Pages + +on: + push: + branches: [main] + paths: + - "site/flapjack-brothers/**" + - ".github/workflows/pages.yml" + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +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: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: site/flapjack-brothers + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/site/flapjack-brothers/CNAME b/site/flapjack-brothers/CNAME new file mode 100644 index 0000000..7f17e2c --- /dev/null +++ b/site/flapjack-brothers/CNAME @@ -0,0 +1 @@ +flapjack.p9o.uk