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
Added Travis CI
This commit is contained in:
23
scripts/build
Normal file
23
scripts/build
Normal file
@@ -0,0 +1,23 @@
|
||||
#! /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
|
||||
Reference in New Issue
Block a user