Name: tabs
Owner: TABLEFLIP
Description: :hammer: TABLEFLIP Automated Build System
Created: 2016-02-29 15:47:53.0
Updated: 2017-11-26 21:05:24.0
Pushed: 2017-11-10 11:25:55.0
Size: 143
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
TABLEFLIP Automated Build System.
Install Node.js
Install dependencies npm install
(Optional) Add TABS config file .tabsrc
(defaults below):
bhook: {
path: '/webhook',
secret: '(?°?°???TABLEFLIP',
port: 7777
ild: {
dir: './build'
Start the webhook npm start
tableflip-tabs
as a collaborator with write accesshttp://tabs.tableflip.io:7777/webhook
application/json
build.js
t build = require('./build')
t repo = 'git@github.com:tableflip/tableflip-www.git'
t commit = 'a0342ede2ea56c799d8ad40937267ba2875e9d88'
t opts = {stdout: process.stdout, stderr: process.stderr}
d(repo, commit, opts, (err, info) => {
nsole.log(`Built in ${info.dir}`)
deploy.js
t deploy = require('./deploy')
t dir = '/path/to/built/tableflip-www'
t repo = 'https://github.com/tableflip/tableflip-www.git'
t opts = {stdout: process.stdout, stderr: process.stderr}
eploy built `dir` to `repo` on `branch`
oy(dir, repo, 'gh-pages', opts, (err) => {
nsole.log(`Deployed`)