mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
CI: Pass environment variable to the build job
This commit is contained in:
parent
77d286213f
commit
c42eba3308
10
.travis.yml
10
.travis.yml
@ -5,9 +5,9 @@ stages:
|
||||
- name: install
|
||||
if: branch = "master"
|
||||
- name: test
|
||||
- name: build
|
||||
- name: pre-build
|
||||
if: branch = "master"
|
||||
- name: pre-deploy
|
||||
- name: build
|
||||
if: branch = "master"
|
||||
- name: deploy
|
||||
if: branch = "master"
|
||||
@ -18,9 +18,11 @@ jobs:
|
||||
script: npm --force install tiddlywiki
|
||||
- stage: test
|
||||
script: ./bin/test.sh
|
||||
- stage: pre-build
|
||||
script: skip
|
||||
- stage: build
|
||||
script: ./bin/build-site.sh
|
||||
- stage: pre-deploy
|
||||
script: skip
|
||||
env:
|
||||
- TW5_BUILD_TIDDLYWIKI = ./node_modules/tiddlywiki/tiddlywiki.js
|
||||
- stage: deploy
|
||||
script: ./bin/deploy-site.sh
|
||||
|
@ -56,25 +56,26 @@ echo "<a href='./plugins/tiddlywiki/highlight/index.html'>Moved to http://tiddly
|
||||
echo "<a href='./plugins/tiddlywiki/markdown/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/markdown/index.html</a>" > $TW5_BUILD_OUTPUT/markdowndemo.html
|
||||
echo "<a href='./plugins/tiddlywiki/tahoelafs/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/tahoelafs/index.html</a>" > $TW5_BUILD_OUTPUT/tahoelafs.html
|
||||
|
||||
# ######################################################
|
||||
# #
|
||||
# # Core distribution
|
||||
# #
|
||||
# ######################################################
|
||||
######################################################
|
||||
#
|
||||
# Core distribution
|
||||
#
|
||||
######################################################
|
||||
|
||||
# # /index.html Main site
|
||||
# # /favicon.ico Favicon for main site
|
||||
# # /static.html Static rendering of default tiddlers
|
||||
# # /alltiddlers.html Static rendering of all tiddlers
|
||||
# # /static/* Static single tiddlers
|
||||
# # /static/static.css Static stylesheet
|
||||
# # /static/favicon.ico Favicon for static pages
|
||||
# node $TW5_BUILD_TIDDLYWIKI \
|
||||
# $TW5_BUILD_MAIN_EDITION \
|
||||
# --verbose \
|
||||
# --output $TW5_BUILD_OUTPUT \
|
||||
# --build favicon static index \
|
||||
# || exit 1
|
||||
# /index.html Main site
|
||||
# /favicon.ico Favicon for main site
|
||||
# /static.html Static rendering of default tiddlers
|
||||
# /alltiddlers.html Static rendering of all tiddlers
|
||||
# /static/* Static single tiddlers
|
||||
# /static/static.css Static stylesheet
|
||||
# /static/favicon.ico Favicon for static pages
|
||||
node $TW5_BUILD_TIDDLYWIKI \
|
||||
$TW5_BUILD_MAIN_EDITION \
|
||||
--verbose \
|
||||
--version \
|
||||
--output $TW5_BUILD_OUTPUT \
|
||||
--build favicon static index \
|
||||
|| exit 1
|
||||
|
||||
# # /empty.html Empty
|
||||
# # /empty.hta For Internet Explorer
|
||||
|
Loading…
Reference in New Issue
Block a user