Vercel Preview Github Action #8328
Unanswered
jgoux
asked this question in
Show and tell
Replies: 1 comment 9 replies
-
this is awesome! any suggested workarounds for the limit of 5 deploy hooks? Separately, if I'm not mistaken, the action has moved to |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all 👋,
I'm a software engineer at Snaplet. We are working hard to enable developers across the world to don't have to worry about seeding or replicating their production databases into their dev or preview environments. 🙇♂️
Vercel is an integral part of this story, this week I investigated how we can integrate Snaplet with Vercel and I came up with this new GitHub Action: https://github.com/marketplace/actions/vercel-preview-deployments
My goal was to take control of when a deployment happens so I can orchestrate external resources creation before deploying a Vercel preview. It could be done with
vercel deploy --prebuilt
but the downside of using it is that you don't have the sweet feedback from the Vercel GitHub App anymore.What I did instead is leveraging deploy hooks so it's still possible to benefit from the Vercel GitHub App, while also being able to deploy when I decide, the best of both worlds! 😄
The action also has a
delete
option to clean up everything that could be produced on Vercel (mainly new environment variables), so it fits really well with a Pull Request lifecycle.Don't hesitate to ping me if you want to know more, or if you want to try Snaplet as well (we are on Discord). 🐱
Beta Was this translation helpful? Give feedback.
All reactions