Skip to content

Instantly share code, notes, and snippets.

@yang
Created March 7, 2022 20:48
Show Gist options
  • Save yang/173e0b5f1bd79ce4d56de24b317ccf58 to your computer and use it in GitHub Desktop.
Save yang/173e0b5f1bd79ce4d56de24b317ccf58 to your computer and use it in GitHub Desktop.
Vercel instant rollbacks
Copy-pastable version of the code:
# Instant rollbacks on Vercel:
#
# vercel alias set PREVIOUS_DEPLOYMENT_DOMAIN PRODUCTION_DOMAIN
vercel alias set myapp-k8nj917m1-yaaang.vercel.app myapp.vercel.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment