Sign inSign up

aabrook/deployer

By aabrook

•Updated about 10 years ago

A simple tool that listens for github webhooks and clones/pulls the repo locally

Image
0

4.9K

aabrook/deployer repository overview

⁠Deployer

A very simple CD service. It will listen for github webhooks and clone to the local environment

⁠Setup

Create private/index.js with the following format

const port = 3000
const parentRepo = 'https://github.com/<your account name>'
const config = [
  { repo: 'repo name', target_dir: 'where to save', script: 'optional script to run in the repo'},
  { repo: 'repo name', target_dir: 'where to save', script: 'optional script to run in the repo'}
]

⁠Run

npm start will fire up the service on the target environment

⁠Todo

  • Actually add webhooks
  • Create Dockerfile
  • Create a UI, maybe?

Tag summary

Content type

Image

Digest

Size

288 MB

Last updated

about 10 years ago

docker pull aabrook/deployer