language: node_js node_js: - "0.10" env: global: - GH_REF: github.com/diffsky/dockit.git - secure: MauEEkoPLH0hoi8cspASKknjiHJNF+m2RtXUCRERW2zqvEJG4YVoWC6R/dK0nfgiakhenrrocK0r+S3/6Rxu7OMSD7F6pJFqF4teZVI7cY/GsR2RXqY1tV27b6fye1/KApJ+BRrcO7fJ2xlNlsslIKJ2PIqyGBE1BEVc/VoYfcw= after_success: - mkdir .gh-pages - npm run-script gh-pages - cd .gh-pages - touch .nojekyll - git init - git config user.name "diffsky" - git config user.email "matthew.hadley@gmail.com" - git add . - git commit -m "build gh-pages" - git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages branches: only: - master