You've already forked How-Fake-Is-This
mirror of
https://github.com/MrLyallCSIT/How-Fake-Is-This.git
synced 2026-01-18 07:09:40 +00:00
24 lines
535 B
Bash
24 lines
535 B
Bash
#! /bin/bash
|
|
|
|
# Git Configuration
|
|
git config user.email "travis.ci@howfakeisthis.com"
|
|
git config user.name "Travis CI"
|
|
|
|
git clone https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG
|
|
cd $TRAVIS_REPO_SLUG
|
|
|
|
mkdir ../build
|
|
cp -R ./image ../build
|
|
cp favicon.ico ../build
|
|
cp index.html ../build
|
|
cp Logo.ai ../build
|
|
cp Logo.png ../build
|
|
|
|
git checkout gh-pages
|
|
rm -rf ./*
|
|
mv -R ../build/* .
|
|
|
|
git add .
|
|
git commit -m "Updating How Fake Is This (build ${TRAVIS_BUILD_NUMBER})" || true
|
|
git push --quiet origin gh-pages || true
|