solid-start-deploy

This commit is contained in:
Untone 2024-07-01 16:57:03 +03:00
parent 2f2c4af161
commit c8ab5ef4f6

View File

@ -1,8 +1,7 @@
if [
"$(git rev-parse --abbrev-ref HEAD)" = "router-upgrade"
] || [
"$(git rev-parse --abbrev-ref HEAD)" = "feature/rating"
];
then exit 1;
else exit 0;
if [ "$VERCEL_GIT_COMMIT_REF" = "router-upgrade" ] || [ "$VERCEL_GIT_COMMIT_REF" = "feature/rating" ]; then
echo "Building on solid start"
exit 1
else
echo "Not on solid start"
exit 0
fi