Skip to content

Commit 0bde2af

Browse files
authored
Update vercel-storybook.sh
1 parent ba55ee7 commit 0bde2af

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

scripts/vercel-storybook.sh

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
#!/bin/bash
22

3-
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
4-
5-
if [[ "$VERCEL_GIT_COMMIT_REF" == "next" ]] ; then
6-
# Proceed with the build
7-
echo "✅ - Build can proceed"
8-
exit 1;
9-
10-
else
11-
# Don't build
12-
echo "🛑 - Build cancelled"
13-
exit 0;
14-
fi
3+
# storybook builds are allowed in this branch
4+
exit 1;

0 commit comments

Comments
 (0)