From f963127102a6dca241f3f164f74116f1c2a89a01 Mon Sep 17 00:00:00 2001 From: Ryan Gregg Date: Tue, 17 Mar 2026 12:34:02 -0700 Subject: [PATCH] Migrate GitHub Pages to modern Actions-based deployment Replace classic branch-based publishing with a GitHub Actions workflow using configure-pages, jekyll-build-pages, upload-pages-artifact, and deploy-pages. Also moves CNAME into the docs/ source directory. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/pages.yml | 45 +++++++++++++++++++++++++++++++++++++ docs/CNAME | 1 + 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 docs/CNAME diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 00000000..1ae2bc4d --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,45 @@ +name: Deploy GitHub Pages + +on: + push: + branches: [master] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./docs + destination: ./_site + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + 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@v4 diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 00000000..035eebb2 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +apidoctor.md \ No newline at end of file