run script after git deploy
the ability to provide a .sh script that will be run after each git deploy if the file cloudways/build.sh is found for exemple.
this way you can run npm install, or anything related to a framework deploy (symfony commands for exemple), or even database migrations
-
Scripts Redzhub commented
looks good scripts will these scripts work in red hub https://scriptredzhub.com/
-
Talha Mubarak commented
Great suggestion! Adding post-deploy script support like cloudways/build.sh would streamline automated tasks after Git deploys—perfect for projects hosted on https://bloxstrapapps.com/. It enables smoother workflows, including npm install, Symfony commands, or DB migrations, making deployment more efficient for framework-based apps. Definitely a flexible improvement!
-
Vilmondes Queiroz commented
I was planning on moving my Laravel application to Cloudways, but I can't do it without this feature
-
Madeira commented
+1! I'm waiting this feature to move from Forge to Cloudways this would save us a lot of time and misery I want to run a script https://bloxecutor.com/roblox-mod-menu/ but its not working
-
Sergio Medina Medel commented
waiting for this! also this can be added with regular deployments too
-
Asaf Mazuz commented
Is there anything new about this? A few years after the original post, there is a significant flow in the deployment service
-
Danylo Karpenko commented
It is very important for the service like yours. Please add this functionality as soon as possible. I think a lot of people will appreciate it and use it very often!
-
Marc Boisvert-Dupras
commented
As others have said, the deployment via git is kind of useless without this. Any word from Cloudways regarding this?
-
Devyn Earls commented
Still waiting on this to be implemented 7 years later...
-
Michaël Vanderschelde commented
Has this been pushed as a feature?
-
Hugh Messenger commented
Is this not a thing yet? What's the point of a git deploy feature if you can't run post deploy commands like "composer install", "npm run production" and "php artisan migrate"?
-
Brian
commented
+1
-
M. Dost
commented
Yes I am waiting for this as well! Otherwise might have to start moving completely to Netlify or something similar
-
Nuno commented
+1! I'm waiting this feature to move from Forge to Cloudways.
-
Aitor
commented
This is still pending to do? Without this feature the auto-deploy is useless
-
Anonymous
commented
yes please
-
Anonymous
commented
eff
-
Anonymous
commented
vzv
-
Sjors Broersen
commented
+1 this would save us a lot of time and misery
-
Anonymous
commented
This is must feature in any basic cloud deploy service, just a textarea for deploy script to run after deploy...
It losses the point if I need to connect via ssh each deployment and run commands manually