Question

App Platform - build for all branches except master

I’ve already set up a live site to try out App Platform for my personal website. I wanted to know if there’s a way to set it up so that I can have a live preview when creating a pull request vs “production”.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @silverAndroid,

Live preview feature is not available on App Platform yet but it is on our roadmap and should be available in the near future. However, we do not have any public timeline as of now.

Please note that we have auto rollback feature for all our apps. In case the latest build fails, the app is rolled back to the previous successful deployment and your app wouldn’t face any downtime.

There’s a workaround to achieve the live preview but please keep in mind that this would cost you additional dollars. You could create another app with a different branch linked to it, let’s say ‘dev’. This wouldn’t be exposed to your main/production domain and would allow you to preview before it gets deployed to production.

Cheers, Taha Fatima