ignoreVercelPreview.sh 228 B

1234567891011121314
  1. #!/bin/bash
  2. echo "VERCEL_ENV: $VERCEL_ENV"
  3. if [[ "$VERCEL_ENV" == "production" ]] ; then
  4. # Proceed with the build
  5. echo "✅ - Build can proceed"
  6. exit 1;
  7. else
  8. # Don't build
  9. echo "🛑 - Build cancelled"
  10. exit 0;
  11. fi