mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
CI: Fix git branch detection
The old code was returning "HEAD" where we really want "master"
This commit is contained in:
parent
097b0e2d4a
commit
4e0b03b19f
@ -13,7 +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 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'
|
||||
- ./bin/build-site.sh
|
||||
- ./bin/deploy-site.sh
|
||||
|
Loading…
Reference in New Issue
Block a user