Skip to content

Commit 13e2d0c

Browse files
committed
Test deploy
1 parent 8ff90db commit 13e2d0c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

netlify.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@
33
command = "bin/setup-runtime && export PATH=\"$(pwd)/bin:$PATH\" && php --version && npm run docs:build"
44

55
[context.deploy-preview]
6-
ignore = "curl -s -H \"Authorization: token $GITHUB_PAT\" https://api.github.com/repos/:owner/:repo/pulls/$REVIEW_ID | grep '\"documentation\"'"
6+
ignore = """
7+
curl -s -H "Authorization: token $GITHUB_PAT" \
8+
https://api.github.com/repos/$REPOSITORY/pulls/$REVIEW_ID \
9+
| grep -q '"documentation"' || exit 0
10+
11+
exit 1
12+
"""

0 commit comments

Comments
 (0)