mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-04-25 20:48:40 +02: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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y npm
|
sudo apt install -y wget npm
|
||||||
sudo npm install -g tiddlywiki
|
sudo npm install -g tiddlywiki
|
||||||
./Build.sh
|
./Build.sh
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ image: alpine:latest
|
|||||||
|
|
||||||
before_script: |
|
before_script: |
|
||||||
apk update
|
apk update
|
||||||
apk add npm
|
apk add wget npm
|
||||||
npm install -g tiddlywiki
|
npm install -g tiddlywiki
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
7
Build.sh
7
Build.sh
@ -1,7 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
URL="https://kb.octt.eu.org"
|
||||||
|
|
||||||
cd ./public
|
cd ./public
|
||||||
|
|
||||||
tiddlywiki \
|
tiddlywiki \
|
||||||
--load index.html \
|
--load index.html \
|
||||||
--output ./ \
|
--output ./ \
|
||||||
--rendertiddler $:/core/templates/static.template.css Style.css text/plain \
|
--rendertiddler $:/core/templates/static.template.css Style.css text/plain \
|
||||||
--rendertiddler $:/core/templates/alltiddlers.template.html Static.html 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