mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-04 10:19:17 +02:00
ci: add vercel ignore build script
This commit is contained in:
parent
b4265c9c65
commit
e219687ea6
1 changed files with 13 additions and 0 deletions
13
common/scripts/vercel-should-deploy.sh
Normal file
13
common/scripts/vercel-should-deploy.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
|
||||||
|
|
||||||
|
if [[ "$VERCEL_GIT_COMMIT_REF" == "gh-pages" ]] ; then
|
||||||
|
# Don't build
|
||||||
|
echo "🛑 - Build cancelled"
|
||||||
|
exit 0;
|
||||||
|
else
|
||||||
|
# Proceed with the build
|
||||||
|
echo "✅ - Build can proceed"
|
||||||
|
exit 1;
|
||||||
|
fi
|
Loading…
Add table
Add a link
Reference in a new issue