CI: Now try passing some details about the current git commit

logging-improvements
Jermolene 2019-01-06 21:56:32 +00:00
rodzic 7a07c84eac
commit 87f077314b
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -13,6 +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 TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js'
- ./bin/build-site.sh
- ./bin/deploy-site.sh

Wyświetl plik

@ -35,6 +35,8 @@ fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
echo "Git details: $GIT_DETAILS"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME