blob: 3c1d76bc70abe3ea1725b74bdcf331a67a725ad7 [file] [log] [blame]
#!/bin/bash
cd ../
git config --global user.email "travisci@ianduffy.ie"
git config --global user.name "travis-ci"
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/imduffy15/ec2stack gh-pages > /dev/null
# Commit and Push the Changes
cd gh-pages
rm -rf *
cp -Rf ../ec2stack/cover/* .
git add -f .
git commit -a -m "[AUTO-PUSH] Latest coverage report on successful travis build"
git push -fq origin gh-pages > /dev/null