wercker.yml
box: wercker/nodejs
build:
steps:
- npm-install
- npm-test
- script:
name: echo nodejs information
code: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
deploy:
steps:
- script:
name: configure git
code: |-
git config --global user.name "Risto Stevcev"
git config --global user.email "risto1@gmail.com"
- script:
name: deploy to github pages
code: |-
git stash save
git checkout gh-pages
git stash pop
git commit -am "Updated documentation."
git push -f $GIT_REMOTE gh-pages