Skip to content

JoeeDeveloper/Deployer

Repository files navigation

Gitlab/Github webhook Auto Deployer


What is this?

This is a very simple gitlab & github webhook auto deployer


usage

  1. Run: git clone git@github.com:Jackdouglas99/Deployer.git
  2. Run: npm i
  3. Rename config.sample.json to config.json
  4. Create your own deploy scripts in the deployment_scripts folder
  5. Run: node deploy.js or use pm2 start deploy.js

How to use webhooks

This example will be for gitlab. google it for github

  1. Go-to your project and on the sidebar hover over settings and click integrations image

  2. Enter the deployer url, token which you set in your config and enable push events and enter master into the text box image

That should be everything working correctly

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published