osem_dash/.build_scripts/deploy.sh
Daniel da Silva 3cf0e60008 Start the measurements 🔆♨️📈
🍉
2016-04-13 18:55:12 +01:00

11 lines
319 B
Bash

#!/usr/bin/env bash
set -e # halt script on error
echo "Get ready, we're pushing to gh-pages!"
cd dist
git init
git config user.name "Travis-CI"
git config user.email "travis-ci@danielfdsilva.com"
git add .
git commit -m "CI deploy to gh-pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages