system-prompts-and-models-o.../.github/workflows/pages.yml
Claude e8cf6060c1
Publish the playbook as a GitHub Pages site
- site/index.html: standalone build of the distilled playbook (adds the
  doctype/head/body skeleton, meta + Open Graph tags, and an inline SVG
  favicon). Self-contained apart from Google Fonts; light and dark themes
  both resolve via prefers-color-scheme.
- .github/workflows/pages.yml: Actions-based Pages deploy using
  configure-pages / upload-pages-artifact / deploy-pages, triggered on
  pushes touching site/ plus workflow_dispatch.

Verified locally with headless Chromium: both themes paint correctly, no
horizontal overflow, no console errors.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016F6MR5mdWYJmZJsZzE7rKu
2026-08-24 13:37:11 +00:00

45 lines
947 B
YAML

name: Deploy playbook to GitHub Pages
on:
push:
branches:
- main
- claude/repository-value-extraction-tqhu1s
paths:
- "site/**"
- ".github/workflows/pages.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment; let an in-flight deploy finish rather than
# cancelling it, so a half-published site is never left live.
concurrency:
group: pages
cancel-in-progress: false
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
uses: actions/upload-pages-artifact@v3
with:
path: site
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4