kopia lustrzana https://github.com/miklobit/TiddlyWiki5
CI: Fix git branch detection
The old code was returning "HEAD" where we really want "master"logging-improvements
rodzic
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
|
||||
|
|
Ładowanie…
Reference in New Issue