This is a very simple gitlab & github webhook auto deployer
- Run:
git clone git@github.com:Jackdouglas99/Deployer.git
- Run:
npm i
- Rename config.sample.json to config.json
- Create your own deploy scripts in the deployment_scripts folder
- Run:
node deploy.js
or usepm2 start deploy.js
This example will be for gitlab. google it for github
-
Go-to your project and on the sidebar hover over settings and click integrations
-
Enter the deployer url, token which you set in your config and enable push events and enter master into the text box
That should be everything working correctly