diff --git a/.travis.yml b/.travis.yml index 036204bd1..5a8c46349 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ jobs: - stage: build script: - npm --force install tiddlywiki + - export GIT_DETAILS="$(< git rev-parse --abbrev-ref HEAD)-$(< git rev-parse HEAD) from $(< git remote get-url origin)" - export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js' - ./bin/build-site.sh - ./bin/deploy-site.sh diff --git a/bin/build-site.sh b/bin/build-site.sh index 04b320f1d..a5e02f9e3 100755 --- a/bin/build-site.sh +++ b/bin/build-site.sh @@ -35,6 +35,8 @@ fi echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]" +echo "Git details: $GIT_DETAILS" + # Make the CNAME file that GitHub Pages requires echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME