1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00

CI: Fix git branch detection

The old code was returning "HEAD" where we really want "master"
This commit is contained in:
Jermolene 2019-01-07 10:38:48 +00:00
parent 097b0e2d4a
commit 4e0b03b19f

View File

@ -13,7 +13,7 @@ jobs:
- stage: build - stage: build
script: script:
- npm --force install tiddlywiki - npm --force install tiddlywiki
- export GIT_DETAILS="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse HEAD) from $(git remote get-url origin)" - export GIT_DETAILS="$(git symbolic-ref --short HEAD)-$(git rev-parse HEAD) from $(git remote get-url origin)"
- export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js' - export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js'
- ./bin/build-site.sh - ./bin/build-site.sh
- ./bin/deploy-site.sh - ./bin/deploy-site.sh