@@ -2,14 +2,14 @@ name: Docs site
22
33# The documentation site (website/) mirrors docs/*.md via scripts/sync-docs.mjs,
44# which runs as the first step of `pnpm run build`. This workflow rebuilds that
5- # mirror and deploys the static export to Cloudflare Pages:
6- # - on every push to main that touches docs/ or website/ (deploy immediately),
7- # - on a daily schedule (re-mirror the latest docs even if nothing pushed),
5+ # mirror:
6+ # - on every push to main that touches docs/ or website/,
87# - manually via the Actions tab,
98# - and as a build-only check on pull requests.
109#
11- # Deploys require two repository secrets: CLOUDFLARE_API_TOKEN and
12- # CLOUDFLARE_ACCOUNT_ID. Set the site's public URL via the DOCS_SITE_URL
10+ # The Cloudflare Pages deploy step is temporarily disabled until setup is ready.
11+ # When re-enabled, deploys require two repository secrets: CLOUDFLARE_API_TOKEN
12+ # and CLOUDFLARE_ACCOUNT_ID. Set the site's public URL via the DOCS_SITE_URL
1313# repository variable (used for OG/sitemap absolute URLs).
1414
1515on :
2424 - ' docs/**'
2525 - ' website/**'
2626 - ' .github/workflows/deploy-docs.yml'
27- schedule :
28- # Daily at 06:00 UTC — picks up any docs changes merged since the last run.
29- - cron : ' 0 6 * * *'
3027 workflow_dispatch :
3128
32- # Never run two deploys at once; let an in-flight deploy finish.
29+ # Never run two docs site jobs at once; let an in-flight job finish.
3330concurrency :
3431 group : deploy-docs
3532 cancel-in-progress : false
3633
3734jobs :
3835 build-and-deploy :
36+ # Keep enabled forks from spending CI on their own copy of this workflow.
37+ # PRs from forks into Fission-AI/OpenSpec still run in the base repository.
38+ if : ${{ github.repository == 'Fission-AI/OpenSpec' }}
3939 runs-on : ubuntu-latest
4040 permissions :
4141 contents : read
0 commit comments