OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-04-14 11:04:56 +00:00
parent cedafbc9de
commit f378feb274
14 changed files with 36 additions and 35 deletions

View File

@ -1,5 +1,5 @@
created: 20230414103300701
created: 20230414110455438
current-tiddler: GettingStarted
modified: 20230414103300701
modified: 20230414110455438
title: $:/HistoryList
type: application/json

View File

@ -1,4 +1,5 @@
#!/bin/sh
mkdir -p ./public
cd ./public
# Build single-page no-JS wiki
@ -10,3 +11,8 @@ tiddlywiki \
# Apply patches to the static HTML
python3 ../PatchStatic.py
# Deploy copies of immediately previous versions
Url="https://kb.octt.eu.org"
wget -O ./-1.html "$Url" || true
wget -O ./-2.html "$Url/-1.html" || true

View File

@ -0,0 +1,6 @@
created: 20230126082147025
creator: Octt
modified: 20230414105637948
modifier: Octt
title: $:/OcttKB/Repo/DeployAll.sh
type: text/plain

View File

@ -1,6 +0,0 @@
created: 20230413125137469
creator: Octt
modified: 20230414102929144
modifier: Octt
title: $:/OcttKB/Repo/Lib.Git.sh
type: text/plain

View File

@ -1,4 +1,3 @@
#!/bin/sh
. ./Lib.*.sh
sh ./Pages.BuildStatic.sh
sh ./Pages.DeployOld.sh
. ./Src.*.sh || true
sh ./DeployAll.sh

View File

@ -1,6 +1,6 @@
created: 20230126081754717
creator: Octt
modified: 20230413134700295
modified: 20230414104946834
modifier: Octt
tags:
title: $:/OcttKB/Repo/Main.sh

View File

@ -1,6 +0,0 @@
created: 20230126082147025
creator: Octt
modified: 20230413132417618
modifier: Octt
title: $:/OcttKB/Repo/Pages.BuildStatic.sh
type: text/plain

View File

@ -1,5 +0,0 @@
#!/bin/sh
URL="https://kb.octt.eu.org"
cd ./public
wget -O ./-1.html "$URL" || true
wget -O ./-2.html "$URL/-1.html" || true

View File

@ -1,6 +0,0 @@
created: 20230126082330667
creator: Octt
modified: 20230413132501058
modifier: Octt
title: $:/OcttKB/Repo/Pages.DeployOld.sh
type: text/plain

View File

@ -1,9 +1,5 @@
#!/bin/sh
ToLower(){
echo "$1" | tr "[:upper:]" "[:lower:]"
}
GitPush(){
git add .
git commit -m "$1"

View File

@ -0,0 +1,6 @@
created: 20230413125137469
creator: Octt
modified: 20230414104704258
modifier: Octt
title: $:/OcttKB/Repo/Src.Git.sh
type: text/plain

View File

@ -0,0 +1,5 @@
#!/bin/sh
ToLower(){
echo "$1" | tr "[:upper:]" "[:lower:]"
}

View File

@ -0,0 +1,6 @@
created: 20230414104412035
creator: Octt
modified: 20230414104554549
modifier: Octt
title: $:/OcttKB/Repo/Src.Misc.sh
type: text/plain

View File

@ -1,6 +1,6 @@
created: 20230414101832787
creator: Octt
list:
modified: 20230414101832787
list: $:/OcttKB/Repo
modified: 20230414105708998
modifier: Octt
title: $:/StoryList