Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

docs: drop the docs workflows until the checker is on artcraft-services main

Fabio Lussifb90a508b1cc
diff --git a/.github/workflows/docs-check.yml b/.github/workflows/docs-check.yml
deleted file mode 100644
index 079b9d414..000000000
--- a/.github/workflows/docs-check.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: docs-check
-
-on:
- pull_request:
- paths: ["docs/user/**"]
- push:
- branches: [main]
- paths: ["docs/user/**"]
-
-permissions:
- contents: read
-
-env:
- # Shared docs checker from storytold/artcraft-services, pinned to one commit
- # and its SHA-256. To update it, change both values in a reviewed PR.
- CHECKER_COMMIT: 4db0e30fe2c57a1c4c49e390e3711f90910b8d23
- CHECKER_SHA256: bd6b610a708b85fd0aa0491c459bd2800b716e0b8050516fea79e084cfb2a624
-
-jobs:
- check:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
- with:
- node-version: 22
- - name: Download the pinned docs checker
- run: |
- url="https://raw.githubusercontent.com/storytold/artcraft-services/$CHECKER_COMMIT/frontend/apps/artcraft-website-next/scripts/docs/core.mjs"
- curl -fsSL "$url" -o "$RUNNER_TEMP/docs-core.mjs"
- echo "$CHECKER_SHA256 $RUNNER_TEMP/docs-core.mjs" | sha256sum -c -
- - name: Check docs/user
- run: node "$RUNNER_TEMP/docs-core.mjs" docs/user
diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml
deleted file mode 100644
index df4a412cc..000000000
--- a/.github/workflows/docs-publish.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: docs-publish
-
-on:
- push:
- branches: [main]
- paths: ["docs/user/**"]
-
-permissions: {}
-
-jobs:
- rebuild:
- runs-on: ubuntu-latest
- steps:
- - name: Rebuild getartcraft.com
- env:
- HOOK: ${{ secrets.DOCS_BUILD_HOOK }}
- run: |
- if [ -z "$HOOK" ]; then
- echo "DOCS_BUILD_HOOK is not set; the nightly website build will pick this up."
- exit 0
- fi
- curl -fsS -X POST -d '{}' "$HOOK?trigger_title=docs%20update%20from%20$GITHUB_REPOSITORY"
diff --git a/docs/user/AGENTS.md b/docs/user/AGENTS.md
index 27975ca2f..85c2a44be 100644
--- a/docs/user/AGENTS.md
+++ b/docs/user/AGENTS.md
@@ -51,11 +51,9 @@ drafts and are not published.
## Check before you push
- commit=$(awk '/CHECKER_COMMIT:/ {print $2}' .github/workflows/docs-check.yml)
- curl -fsSL "https://raw.githubusercontent.com/storytold/artcraft-services/$commit/frontend/apps/artcraft-website-next/scripts/docs/core.mjs" -o /tmp/docs-core.mjs
- node /tmp/docs-core.mjs docs/user
+ node <path to your artcraft-services checkout>/frontend/apps/artcraft-website-next/scripts/docs/core.mjs docs/user
-This uses the same pinned checker as CI (`.github/workflows/docs-check.yml`).
+The checker lives in storytold/artcraft-services. A CI check will be added once it is on that repo's main branch.
## Support PRs