mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-10-02 05:24:34 +08:00
chore: remove scheduled docs workflow (#1324)
This commit is contained in:
@@ -2,14 +2,14 @@ name: Docs site
|
||||
|
||||
# The documentation site (website/) mirrors docs/*.md via scripts/sync-docs.mjs,
|
||||
# which runs as the first step of `pnpm run build`. This workflow rebuilds that
|
||||
# mirror and deploys the static export to Cloudflare Pages:
|
||||
# - on every push to main that touches docs/ or website/ (deploy immediately),
|
||||
# - on a daily schedule (re-mirror the latest docs even if nothing pushed),
|
||||
# mirror:
|
||||
# - on every push to main that touches docs/ or website/,
|
||||
# - manually via the Actions tab,
|
||||
# - and as a build-only check on pull requests.
|
||||
#
|
||||
# Deploys require two repository secrets: CLOUDFLARE_API_TOKEN and
|
||||
# CLOUDFLARE_ACCOUNT_ID. Set the site's public URL via the DOCS_SITE_URL
|
||||
# The Cloudflare Pages deploy step is temporarily disabled until setup is ready.
|
||||
# When re-enabled, deploys require two repository secrets: CLOUDFLARE_API_TOKEN
|
||||
# and CLOUDFLARE_ACCOUNT_ID. Set the site's public URL via the DOCS_SITE_URL
|
||||
# repository variable (used for OG/sitemap absolute URLs).
|
||||
|
||||
on:
|
||||
@@ -24,18 +24,18 @@ on:
|
||||
- 'docs/**'
|
||||
- 'website/**'
|
||||
- '.github/workflows/deploy-docs.yml'
|
||||
schedule:
|
||||
# Daily at 06:00 UTC — picks up any docs changes merged since the last run.
|
||||
- cron: '0 6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
# Never run two deploys at once; let an in-flight deploy finish.
|
||||
# Never run two docs site jobs at once; let an in-flight job finish.
|
||||
concurrency:
|
||||
group: deploy-docs
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
# Keep enabled forks from spending CI on their own copy of this workflow.
|
||||
# PRs from forks into Fission-AI/OpenSpec still run in the base repository.
|
||||
if: ${{ github.repository == 'Fission-AI/OpenSpec' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user