#!/bin/sh
setup_git() {
  git config --global user.email "travis+fateOfAllFools@travis-ci.org"
  git config --global user.name "Travis CI (FATE)"
}

commit_artifacts() {
  git add docs/fateOfAllFools.css
  git add docs/fateOfAllFools.js
  git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
}

push_to_github() {
  git remote add origin https://${GH_TOKEN}@github.com/rslifka/fate_of_all_fools.git > /dev/null 2>&1
  git push --quiet --set-upstream origin master
}

setup_git
commit_artifacts
push_to_github

#!/bin/sh
setup_git() {
  git config --global user.email "travis+fateOfAllFools@travis-ci.org"
  git config --global user.name "Travis CI (FATE)"
}

commit_artifacts() {
  git add docs/fateOfAllFools.css
  git add docs/fateOfAllFools.js
  git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
}

push_to_github() {
  git remote add origin https://${GH_TOKEN}@github.com:rslifka/fate_of_all_fools.git > /dev/null 2>&1
  git push --quiet --set-upstream origin master
}

setup_git
commit_artifacts
push_to_github

Fix typo in repo URL
Fix typo in repo URL
