Fix file; Update build script

This commit is contained in:
octt 2022-09-22 15:33:09 +00:00
parent 128a317386
commit 10b10d7565
4 changed files with 31 additions and 19 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@ image: alpine:latest
before_script: |
apk update
apk add npm
apk add wget npm
npm install -g tiddlywiki
pages:

View File

@ -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"

File diff suppressed because one or more lines are too long