0.0.23 • Published 8 years ago
chroma-ci-watch v0.0.23
chroma-ci-watch waits for a github 'push' webhook, then executes an arbitrary set of shell commands before and/or after pulling that branch
npm install -g chroma-ci-watch
it requires a ci.cson file to be present where run
port: 8080
git:
repo: 'chroma-ci'
branch: 'master'
secret: 'chroma-haz-te$t'
before: ['echo pull branch!']
after: ['echo do something!']
we run this with pm2 / pm2-web using a config like this
{
"apps": [{
"name": "chroma-ci-watch",
"script": "chroma-ci-watch",
"exec_interpreter": "none"
}, {
"name": "chroma.fund tests @ 3100",
"script": "npm",
"args": "run prod-test",
"exec_interpreter": "none"
}]
}