mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
Test deploy
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user