#!/bin/bash
mkdir dist

git config --global user.email "nobody@nobody.org"
git config --global user.name "Travis CI"

git remote remove origin
git remote add origin "https://${GITHUB_TOKEN}@github.com:DankGamesStudios/Tankr.git"
npm list --depth 0
npm run-script deploy

#!/bin/bash
mkdir dist

git config --global user.email "nobody@nobody.org"
git config --global user.name "Travis CI"

git remote remove origin
git remote add origin "https://${GITHUB_TOKEN}@github.com:DankGamesStudios/Tankr.git"
npm install
npm run-script deploy

Install npm packages on deploy
Install npm packages on deploy
