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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fabio Lussi
2026-10-12 08:09:21 +02:00
co-authored by Claude Opus 5.5
parent 0638d6f944
commit fb90a508b1
3 changed files with 2 additions and 59 deletions
-33
View File
@@ -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
-22
View File
@@ -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"
+2 -4
View File
@@ -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