Merge pull request #233 from openziti/vercel-revert-branch-check

ignore gh-pages branch
This commit is contained in:
Ken Bingham 2023-02-28 11:03:18 -05:00 committed by GitHub
commit 5a2340e121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,5 +6,5 @@
},
"cleanUrls": false,
"public": true,
"ignoreCommand": "[[ \"${VERCEL_GIT_COMMIT_REF}\" =~ ^(gh-pages)$ ]] || git diff --quiet HEAD^ HEAD -- ../website/ ../docs/"
"ignoreCommand": "grep -qE '^(gh-pages)$' <<< ${VERCEL_GIT_COMMIT_REF} || git diff --quiet HEAD^ HEAD -- ../website/ ../docs/"
}