mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-01-31 06:44:50 +01:00
Fix file; Update build script
This commit is contained in:
parent
128a317386
commit
10b10d7565
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
|
@ -2,7 +2,7 @@ image: alpine:latest
|
||||
|
||||
before_script: |
|
||||
apk update
|
||||
apk add npm
|
||||
apk add wget npm
|
||||
npm install -g tiddlywiki
|
||||
|
||||
pages:
|
||||
|
7
Build.sh
7
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"
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user