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

gouseferoz's avatar

Deploying the laravel project using github

Hi,

I am in the process of deploying my project onto the Linux server.

I am using the github to do that. Right now, i have followed https://devmarketer.io/learn/deploy-laravel-5-app-lemp-stack-ubuntu-nginx/ guide to do the setup.

So basically I need three things here:

  1. Saving my changes into the github should automatically update the project inside the server.
  2. If i create branches in github and push the changes to branch, that code should be updated inside the staging folder of server.
  3. if i merge the branch to the master, the changes needs to be pushed to the production in the server.

Can anyone help me with this, it would be great help

Regards, Feroz.

0 likes
2 replies

Please or to participate in this conversation.