review and approve production builds

I am wondering if there is a way to build a page in the production branch but review and approve it before it goes live. It happens that even after a successful build, the page still has problems which require a re-build from time to time. It would be helpful to test a production-build and approve it to be rolled out to live in case it is okay.
3 Replies
🎄 Asterisk
🎄 Asterisk•6mo ago
you could make a dev branch and force everyone to commit there first
Erisa
Erisa•6mo ago
Yeah some kind of staging branch would be best here Then you can merge the change into your staging branch and verify it works alongside the other changes before merging staging into production (which will hopefully not have as many issues since there would be no changes in production that arent in staging)
Single
SingleOP•6mo ago
My problem is not the validation of my code - we use a staging/dev branch for that. It's just the the build process is sometimes successful but the page still has a problem which requires us to rebuild - the exact same code. It might happen because nuxt sometime creates files with a leading "-", but it's not about finding the random problem here, its about a manual validation of the build-outcome before it goes live.
Want results from more Discord servers?
Add your server