1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50:28 +00:00

CI: Doh! A simpler way to get the branch name

This commit is contained in:
Jermolene 2019-01-07 10:44:19 +00:00
parent 4e0b03b19f
commit 97f7f8f111

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 symbolic-ref --short HEAD)-$(git rev-parse HEAD) from $(git remote get-url origin)" - export GIT_DETAILS="$TRAVIS_BRANCH-$(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