docs: general fixes for docs workspace (#5184)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-09-22 12:25:48 +03:00
1 parent c1b8f089e3
commit 123b3787d5
15 files changed
+97 -23

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
echo "VERCEL_ENV: $VERCEL_ENV"
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
if [[ "$VERCEL_ENV" == "production" || "$VERCEL_GIT_COMMIT_REF" = "docs/"* ]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
else
# Don't build
echo "🛑 - Build cancelled"
exit 0;
fi