mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
Added bash build script.
This commit is contained in:
parent
394997e1d7
commit
37eb157ab5
14
ignore-build-step.sh
Normal file
14
ignore-build-step.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
|
||||||
|
|
||||||
|
if [[ "$VERCEL_GIT_COMMIT_REF" != "analytics" ]] ; then
|
||||||
|
# Proceed with the build
|
||||||
|
echo "✅ - Build can proceed"
|
||||||
|
exit 1;
|
||||||
|
|
||||||
|
else
|
||||||
|
# Don't build
|
||||||
|
echo "🛑 - Build cancelled"
|
||||||
|
exit 0;
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user