Merge pull request #196 from openziti/vercel-ignore-non-docs-changes

configure vercel to ignore commits that don't change the Docusaurus site
This commit is contained in:
Ken Bingham 2023-01-31 14:44:13 -05:00 committed by GitHub
commit 7028533d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
website/vercel.json Normal file
View File

@ -0,0 +1,10 @@
{
"framework": "docusaurus-2",
"outputDirectory": "build",
"github": {
"silent": false
},
"cleanUrls": false,
"public": true,
"ignoreCommand": "[[ \"${VERCEL_GIT_COMMIT_REF}\" =~ ^(gh-pages)$ ]] || git diff --quiet HEAD^ HEAD -- ./website/ ./docs/"
}