mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-01-26 20:44:57 +01:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
parent
cedafbc9de
commit
f378feb274
@ -1,5 +1,5 @@
|
||||
created: 20230414103300701
|
||||
created: 20230414110455438
|
||||
current-tiddler: GettingStarted
|
||||
modified: 20230414103300701
|
||||
modified: 20230414110455438
|
||||
title: $:/HistoryList
|
||||
type: application/json
|
@ -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
|
@ -0,0 +1,6 @@
|
||||
created: 20230126082147025
|
||||
creator: Octt
|
||||
modified: 20230414105637948
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/DeployAll.sh
|
||||
type: text/plain
|
@ -1,6 +0,0 @@
|
||||
created: 20230413125137469
|
||||
creator: Octt
|
||||
modified: 20230414102929144
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/Lib.Git.sh
|
||||
type: text/plain
|
@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
. ./Lib.*.sh
|
||||
sh ./Pages.BuildStatic.sh
|
||||
sh ./Pages.DeployOld.sh
|
||||
. ./Src.*.sh || true
|
||||
sh ./DeployAll.sh
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20230126081754717
|
||||
creator: Octt
|
||||
modified: 20230413134700295
|
||||
modified: 20230414104946834
|
||||
modifier: Octt
|
||||
tags:
|
||||
title: $:/OcttKB/Repo/Main.sh
|
||||
|
@ -1,6 +0,0 @@
|
||||
created: 20230126082147025
|
||||
creator: Octt
|
||||
modified: 20230413132417618
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/Pages.BuildStatic.sh
|
||||
type: text/plain
|
@ -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
|
@ -1,6 +0,0 @@
|
||||
created: 20230126082330667
|
||||
creator: Octt
|
||||
modified: 20230413132501058
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/Pages.DeployOld.sh
|
||||
type: text/plain
|
@ -1,9 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
ToLower(){
|
||||
echo "$1" | tr "[:upper:]" "[:lower:]"
|
||||
}
|
||||
|
||||
GitPush(){
|
||||
git add .
|
||||
git commit -m "$1"
|
@ -0,0 +1,6 @@
|
||||
created: 20230413125137469
|
||||
creator: Octt
|
||||
modified: 20230414104704258
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/Src.Git.sh
|
||||
type: text/plain
|
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
ToLower(){
|
||||
echo "$1" | tr "[:upper:]" "[:lower:]"
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
created: 20230414104412035
|
||||
creator: Octt
|
||||
modified: 20230414104554549
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/Src.Misc.sh
|
||||
type: text/plain
|
@ -1,6 +1,6 @@
|
||||
created: 20230414101832787
|
||||
creator: Octt
|
||||
list:
|
||||
modified: 20230414101832787
|
||||
list: $:/OcttKB/Repo
|
||||
modified: 20230414105708998
|
||||
modifier: Octt
|
||||
title: $:/StoryList
|
Loading…
Reference in New Issue
Block a user