diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f82aaaf..4661a12 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: - name: Build run: | sudo apt update - sudo apt install -y npm + sudo apt install -y wget npm sudo npm install -g tiddlywiki ./Build.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a4d35e..985f6a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: alpine:latest before_script: | apk update - apk add npm + apk add wget npm npm install -g tiddlywiki pages: diff --git a/Build.sh b/Build.sh index ff9eb07..2790446 100755 --- a/Build.sh +++ b/Build.sh @@ -1,7 +1,14 @@ #!/bin/sh + +URL="https://kb.octt.eu.org" + cd ./public + tiddlywiki \ --load index.html \ --output ./ \ --rendertiddler $:/core/templates/static.template.css Style.css text/plain \ --rendertiddler $:/core/templates/alltiddlers.template.html Static.html text/plain + +wget -O "-1.html" "$URL" +wget -O "-2.html" "$URL/-1.html" diff --git a/public/index.html b/public/index.html index bdd6b0d..5492094 100644 --- a/public/index.html +++ b/public/index.html @@ -139,9 +139,7 @@ Error message and password prompt
It seems like your browser isn't executing ~JavaScript code.
Solutions:
The following is a preview of the Welcome Page.
...
Just to be clear with any of you people that experience TiddlyWiki for the first time... if you make any edits here, they will not magically appear on my site - The worst you can actually do is locally save your edits. 🙃
~OcttKB || Powered by TiddlyWiki.
+It seems like your browser isn't executing ~JavaScript code.
Solutions:
The following is a preview of the Welcome Page.
...
Just to be clear with any of you people that experience TiddlyWiki for the first time... if you make any edits here, they will not magically appear on my site - The worst you can actually do is locally save your edits. 🙃
~OcttKB || Powered by TiddlyWiki.
@@ -153,7 +151,8 @@ Error message and password prompt