Skip to content

Scheduling infrastructure for absolutely everyone.

276 B
Raw Blame
#!/bin/bash

echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"

if [[ "$VERCEL_GIT_COMMIT_REF" == "staging" ]] ; then
  # Proceed with the build
    echo "βœ… - Build can proceed"
    ./vercel.sh
  exit 1;

else
  # Don't build
  echo "πŸ›‘ - Build cancelled"
  exit 0;
fi