Forum Documentation Showcase Pricing Learn more

Trigger email on deploy

Is there a way to use “deploy to live” as an event? I’d like to send a deployment email whenever a new version is deployed to production. Ideally, the event actions would have access to the deployment description text.

Thanks.

Hard code a state value on the ON PAGE LOAD. Version = 3
Compare that value with a value in your database: example version field

Lets say the value in the database is 2
If 2 does not equal 3 then do what ever you want…

Replace version in the database to State which is now 3

Next time you deploy change the hardcoded state to 4… rinse and repeat

Hope that works.

Rick
App developer for over 30 years…
Love Bubble!

2 Likes

Thanks! That will cover it.