1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-30 07:50:47 +00:00
TiddlyWiki5/bin/travis-pre-build.sh
Jermolene a2d4239db0 CI: Pull scripts out into files
Still trying to get the github integration working
2019-01-07 16:42:30 +00:00

24 lines
454 B
Bash
Executable File

#!/bin/bash
# Pull existing GitHub pages content
npm --force install tiddlywiki || exit 1
mkdir -p output || exit 1
cd output || exit 1
git init || exit 1
git config --global user.email "travis@travis-ci.org" || exit 1
git config --global user.name "Travis CI" || exit 1
git remote add upstream "https://$GH_TOKEN@github.com/Jermolene/Testing2019.git" || exit 1
git fetch upstream || exit 1
git reset upstream/master || exit 1
cd .. || exit 1