Welcome Guest, Not a member yet? Register   Sign In
Automating codeIgniter deployment on hostinger

Currently, I am hosting CodeIgniter on Hostinger using the Git webhook, which allows for continuous development. Hostinger listens to any git push and triggers its deployment script to host the site.

However, I encountered an issue where it does not run the "update" and "serve" commands automatically. As a result, I have to access SSH every time I make changes to the project and manually execute "composer update" and "php spark serve" to keep the site running.

I am looking for a solution that automates this process and eliminates the need for manual intervention every time I update the project. Is there any solution or workaround available to streamline this workflow and enable automatic execution of the necessary commands after each git push? Any guidance or suggestions would be highly appreciated.

Thank you in advance for your help.

Theme © iAndrew 2016 - Forum software by © MyBB