The pre-deploy command is not executed for the preview timeline yet
πDeno Deploy
Hi. I've got a simple app which needs to spin up a database (I'm using turso) for each build, except for production which can always use the same instance.
I'm wittling away at the problem but haven't found a concrete way to dynamically set a new DB target for each branch as it builds. I hoped to do it with the pre-deploy command, but as the title of this post says, it's not available for previews.
Is there a way around this? Am I thinking about the deploy platform wrong, and there's a more idiomatic approach here? I feel like I'm trying to cludge things together here, yet deploy seems like an elegant platform that should support this type of workflow.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.