mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-04-26 21:18:40 +02: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
|
current-tiddler: GettingStarted
|
||||||
modified: 20230414103300701
|
modified: 20230414110455438
|
||||||
title: $:/HistoryList
|
title: $:/HistoryList
|
||||||
type: application/json
|
type: application/json
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
mkdir -p ./public
|
||||||
cd ./public
|
cd ./public
|
||||||
|
|
||||||
# Build single-page no-JS wiki
|
# Build single-page no-JS wiki
|
||||||
@ -10,3 +11,8 @@ tiddlywiki \
|
|||||||
|
|
||||||
# Apply patches to the static HTML
|
# Apply patches to the static HTML
|
||||||
python3 ../PatchStatic.py
|
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
|
#!/bin/sh
|
||||||
. ./Lib.*.sh
|
. ./Src.*.sh || true
|
||||||
sh ./Pages.BuildStatic.sh
|
sh ./DeployAll.sh
|
||||||
sh ./Pages.DeployOld.sh
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
created: 20230126081754717
|
created: 20230126081754717
|
||||||
creator: Octt
|
creator: Octt
|
||||||
modified: 20230413134700295
|
modified: 20230414104946834
|
||||||
modifier: Octt
|
modifier: Octt
|
||||||
tags:
|
tags:
|
||||||
title: $:/OcttKB/Repo/Main.sh
|
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
|
#!/bin/sh
|
||||||
|
|
||||||
ToLower(){
|
|
||||||
echo "$1" | tr "[:upper:]" "[:lower:]"
|
|
||||||
}
|
|
||||||
|
|
||||||
GitPush(){
|
GitPush(){
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$1"
|
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
|
created: 20230414101832787
|
||||||
creator: Octt
|
creator: Octt
|
||||||
list:
|
list: $:/OcttKB/Repo
|
||||||
modified: 20230414101832787
|
modified: 20230414105708998
|
||||||
modifier: Octt
|
modifier: Octt
|
||||||
title: $:/StoryList
|
title: $:/StoryList
|
Loading…
x
Reference in New Issue
Block a user