DenoDDeno
Powered by
Steve AS
Denoβ€’3w agoβ€’
4 replies
Steve A

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.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Import is "Not yet initialized?"
SwifterSSwifter / help
3y ago
How to deploy a staging (preview?) branch
PentosPPentos / help
10mo ago
Deno.Command not working for application
DNADDNA / help
3y ago