Add Vercel deployment support (#9)

This commit is contained in:
AceDataCloud committed 2024-01-02 00:19:12 +08:00
1 parent e9e6e3bb4d
commit 19e8edccf9
4 files changed
+31

No files matched your search

+8
View File
@@ -2,4 +2,12 @@
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "$branch" = "main" ]; then
echo "You can't commit directly to main branch, please checkout a new branch to commit"
exit 1
fi
yarn lint