frappe / press

Full service cloud hosting for the Frappe stack - powers Frappe Cloud
https://frappe.cloud
GNU Affero General Public License v3.0
280 stars 195 forks source link

Deploy Specific Branches on Frappe Cloud #2299

Open lsmedev opened 4 days ago

lsmedev commented 4 days ago

Hi,

I would like to raise a request for an important feature which is to allow us to deploy specific git branches on Frappe Cloud. We use Git Flow where we create a git branch whenever we implement a new feature. It is useful to test the new feature in Dev site before merging the feature branch to main, and before deploying to production.

Currently we are merging the feature branch to main in order to deploy to the dev site, however it is not fully tested and that can break our main branch temporarily, not allowing us to make further updates to production until the feature is fully fixed.

That defeats the purpose of using Git Flow.

Thanks, Rony

nikkothari22 commented 4 days ago

@lsmedev Maybe I don't understand the requirement, but isn't this already supported? You can select a branch in your private bench for a specific app.

Go to your bench group > apps > and then in the three dots beside your app select "Change branch".

image image
lsmedev commented 3 days ago

Oh! This is great then. We had asked frappe cloud support but they told us to create a ticket on the github. Thanks for clearing this out, we will happily use this feature!