From b6a25218afbd7352b4cab4f7e864ed1f82448a15 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Wed, 1 Nov 2023 23:58:15 +0100 Subject: [PATCH] use TW5_BUILD_ARCHIVE as requested --- .github/workflows/ci.yml | 2 +- bin/build-site.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d51101ddd00..876e0cefb03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/bin/build-site.sh b/bin/build-site.sh index f36b3479cce..5b36de4e17b 100755 --- a/bin/build-site.sh +++ b/bin/build-site.sh @@ -93,14 +93,14 @@ echo -e -n "title: $:/build\ncommit: $TW5_BUILD_COMMIT\n\n$TW5_BUILD_DETAILS\n" # /archive/Empty-TiddlyWiki-.html Empty archived version # /archive/TiddlyWiki-.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