Use this script to auto-deploy Gitlab artifacts to your PHP server.
Set up a Gitlab CI pipeline that creates an artifact zip file, a webhook that is triggered by pipeline events set to index.php
. The token should be a secure, random string and needs to be also set in config.php
.
This project follows hack-driven development guidelines - please read the code thoroughly before deploying on production. No warranty provided, it might just rm -rf
your life server 🤷
Tech Tip: use Gitlab's webhook testing feature to try out the deployment.