Skip to content

Commit

Permalink
Fix file; Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
octt committed Sep 22, 2022
1 parent 128a317 commit 10b10d7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image: alpine:latest

before_script: |
apk update
apk add npm
apk add wget npm
npm install -g tiddlywiki
pages:
Expand Down
7 changes: 7 additions & 0 deletions Build.sh
Original file line number Diff line number Diff line change
@@ -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"
39 changes: 22 additions & 17 deletions public/index.html

Large diffs are not rendered by default.

0 comments on commit 10b10d7

Please sign in to comment.