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:
parent
7a07c84eac
commit
87f077314b
@ -13,6 +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 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
|
||||||
|
@ -35,6 +35,8 @@ fi
|
|||||||
|
|
||||||
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
|
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
|
||||||
|
|
||||||
|
echo "Git details: $GIT_DETAILS"
|
||||||
|
|
||||||
# Make the CNAME file that GitHub Pages requires
|
# Make the CNAME file that GitHub Pages requires
|
||||||
|
|
||||||
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
|
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
|
||||||
|
Loading…
Reference in New Issue
Block a user