Things I’d like to see Next.js/Vercel address/fix.

#!/bin/bash

echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"

if [[ "$VERCEL_GIT_COMMIT_REF" == "staging" || "$VERCEL_GIT_COMMIT_REF" == "main" ]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;

else
# Do not build.
echo "🛑 - Build cancelled"
exit 0;
fi

--

--

--

Programming, Guitaring, Surfing, Practical-Joking, Sleeping.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Ansible- ROLES

What is SASE? A cloud service that marries SD-WAN with security

several tips for new docker users

What Is VPN Passthrough?

My Software Engineering Internship at VMware

On-Premise Data Labeling

CSR Tale #9: Reliability of Distributed Storage

Use custom configuration file in ASP.NET Core

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dean Sacramone

Dean Sacramone

Programming, Guitaring, Surfing, Practical-Joking, Sleeping.

More from Medium

We Got Rhythm

A Detailed Guide To Barcodes And How To Make Them

How to manually setup your MetaMask to work on Polygon (MATIC) network?

5 portfolio websites for designers