1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

CI: Now try passing some details about the current git commit

This commit is contained in:
Jermolene 2019-01-06 21:56:32 +00:00
parent 7a07c84eac
commit 87f077314b
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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