Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MaxTenco's avatar

Automatic deploy on the push event

Hi devs, I want to start deploy on server every time I push on specific branch. I use Github. How Can I do?

Thanks so much.

0 likes
6 replies
CorvS's avatar

@maxtenco It already tells you what to do. Go to whatever source control provider you are using and setup a webhook with the deployment trigger URL listed below.

For Bitbucket that would be under Repository settings > Webhooks for example.

MaxTenco's avatar

I tried with Github, but when push some branch, the deploy stars for all sites in forge. But I want that when push on staging branch deploy on site staging and no prod. Thanks.

CorvS's avatar

Did you check your "Deployment Branch" below "Maintenance Mode"?

Please or to participate in this conversation.