11 lines
319 B
Bash
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
|