From 4d5a79acb865970bfdbc4f83093abca0ad51d960 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 8 Jan 2019 13:46:18 +0000 Subject: [PATCH 1/2] CI: Add branch to travis commit messages --- bin/travis-push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/travis-push.sh b/bin/travis-push.sh index fc3310ecc..76d1f829e 100755 --- a/bin/travis-push.sh +++ b/bin/travis-push.sh @@ -11,7 +11,7 @@ git config --global user.name "Travis CI" || exit 1 git add -A . || exit 1 -git commit --message "Travis build: $TRAVIS_BUILD_NUMBER ($(date +'%F %T %Z'))" || exit 1 +git commit --message "Travis build: $TRAVIS_BUILD_NUMBER of $TRAVIS_BRANCH ($(date +'%F %T %Z'))" || exit 1 git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/Testing2019.git" &>/dev/null || exit 1 From fa638b8b5b3300f226798280387692b7f748790a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 8 Jan 2019 14:02:46 +0000 Subject: [PATCH 2/2] CI: Enable continuous integration Going live! --- bin/travis-pre-build.sh | 2 +- bin/travis-push.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/travis-pre-build.sh b/bin/travis-pre-build.sh index f92e3029f..6f4b0ca78 100755 --- a/bin/travis-pre-build.sh +++ b/bin/travis-pre-build.sh @@ -7,4 +7,4 @@ npm --force install tiddlywiki || exit 1 # Pull existing GitHub pages content -git clone --depth=1 --branch=master "https://github.com/Jermolene/Testing2019.git" output +git clone --depth=1 --branch=master "https://github.com/Jermolene/jermolene.github.io.git" output diff --git a/bin/travis-push.sh b/bin/travis-push.sh index 76d1f829e..aa16cd73c 100755 --- a/bin/travis-push.sh +++ b/bin/travis-push.sh @@ -13,7 +13,7 @@ git add -A . || exit 1 git commit --message "Travis build: $TRAVIS_BUILD_NUMBER of $TRAVIS_BRANCH ($(date +'%F %T %Z'))" || exit 1 -git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/Testing2019.git" &>/dev/null || exit 1 +git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/jermolene.github.io.git" &>/dev/null || exit 1 git push deploy master &>/dev/null || exit 1