Skip to content

Commit

Permalink
use TW5_BUILD_ARCHIVE as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
pmario committed Nov 1, 2023
1 parent 2cc5f92 commit b6a2521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
TW5_BUILD_TIDDLYWIKI: "./node_modules/tiddlywiki/tiddlywiki.js"
TW5_BUILD_MAIN_EDITION: "./editions/tw5.com"
TW5_BUILD_OUTPUT: "./output"
TW5_BUILD_OUTPUT_ARCHIVE: "./output"
TW5_BUILD_ARCHIVE: "./output"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand Down
4 changes: 2 additions & 2 deletions bin/build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ echo -e -n "title: $:/build\ncommit: $TW5_BUILD_COMMIT\n\n$TW5_BUILD_DETAILS\n"
# /archive/Empty-TiddlyWiki-<version>.html Empty archived version
# /archive/TiddlyWiki-<version>.html Full archived version

if [ -n "$TW5_BUILD_OUTPUT_ARCHIVE" ]; then
if [ -n "$TW5_BUILD_ARCHIVE" ]; then

node $TW5_BUILD_TIDDLYWIKI \
$TW5_BUILD_MAIN_EDITION \
--verbose \
--version \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT_ARCHIVE \
--output $TW5_BUILD_ARCHIVE \
--build archive \
|| exit 1
fi
Expand Down

0 comments on commit b6a2521

Please sign in to comment.