docs: ignore step (#26409)

This commit is contained in:
Erick Friis
2024-09-12 18:32:17 -07:00
committed by GitHub
parent e76e6046fc
commit df6cddafba

View File

@@ -4,9 +4,14 @@ echo "VERCEL_ENV: $VERCEL_ENV"
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
if [ "$VERCEL_ENV" == "production" ] || [ "$VERCEL_GIT_COMMIT_REF" == "master" ] || [ "$VERCEL_GIT_COMMIT_REF" == "v0.1" ]; then if [ "$VERCEL_ENV" == "production" ] || \
echo "✅ Production build - proceeding with build" [ "$VERCEL_GIT_COMMIT_REF" == "master" ] || \
exit 1; [ "$VERCEL_GIT_COMMIT_REF" == "v0.1" ] || \
[ "$VERCEL_GIT_COMMIT_REF" == "v0.2" ] || \
[ "$VERCEL_GIT_COMMIT_REF" == "v0.3" ]
then
echo "✅ Production build - proceeding with build"
exit 1
fi fi