We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff90db commit 13e2d0cCopy full SHA for 13e2d0c
1 file changed
netlify.toml
@@ -3,4 +3,10 @@
3
command = "bin/setup-runtime && export PATH=\"$(pwd)/bin:$PATH\" && php --version && npm run docs:build"
4
5
[context.deploy-preview]
6
- ignore = "curl -s -H \"Authorization: token $GITHUB_PAT\" https://api.github.com/repos/:owner/:repo/pulls/$REVIEW_ID | grep '\"documentation\"'"
+ 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