Skip to content

Commit 1787410

Browse files
committed
chore: tell Vercel not to build the gh-pages branch.
1 parent 1c91e51 commit 1787410

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.vercel/ignore-gh-pages.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Don't try to build the gh-pages branch.
4+
5+
if [[ "$BRANCH" != "gh-pages" ]] ; then
6+
# Proceed with the build
7+
exit 1;
8+
else
9+
# Don't build
10+
exit 0;
11+
fi

0 commit comments

Comments
 (0)