Test deploy

This commit is contained in:
crazywhalecc
2026-04-20 14:36:18 +08:00
parent 8ff90dbb7d
commit 13e2d0c969

View File

@@ -3,4 +3,10 @@
command = "bin/setup-runtime && export PATH=\"$(pwd)/bin:$PATH\" && php --version && npm run docs:build"
[context.deploy-preview]
ignore = "curl -s -H \"Authorization: token $GITHUB_PAT\" https://api.github.com/repos/:owner/:repo/pulls/$REVIEW_ID | grep '\"documentation\"'"
ignore = """
curl -s -H "Authorization: token $GITHUB_PAT" \
https://api.github.com/repos/$REPOSITORY/pulls/$REVIEW_ID \
| grep -q '"documentation"' || exit 0
exit 1
"""