mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-04-13 15:01:58 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
parent
882ec4fa7a
commit
054fea4e3c
@ -1,5 +1,5 @@
|
|||||||
created: 20230611205522943
|
created: 20230611213245204
|
||||||
current-tiddler: GettingStarted
|
current-tiddler: GettingStarted
|
||||||
modified: 20230611205522943
|
modified: 20230611213245204
|
||||||
title: $:/HistoryList
|
title: $:/HistoryList
|
||||||
type: application/json
|
type: application/json
|
@ -1,19 +1,25 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
set -e # Exit on any error
|
||||||
|
set -x # Echo all commands
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
TargetWiki="OcttKB"
|
||||||
TargetRepo="OcttKB"
|
TargetRepo="OcttKB"
|
||||||
git clone --depth 1 https://gitlab.com/octtspacc/$TargetRepo ./Repo-$TargetRepo
|
|
||||||
cd ./Repo-$TargetRepo
|
git clone --depth 1 "https://gitlab.com/octtspacc/$TargetRepo" "./Repo-$TargetRepo"
|
||||||
rm -rf ./Wiki-OcttKB
|
cd "./Repo-$TargetRepo"
|
||||||
|
rm -rf "./Wiki-$TargetWiki" || true
|
||||||
|
|
||||||
tiddlywiki \
|
tiddlywiki \
|
||||||
--verbose \
|
--verbose \
|
||||||
--load ../public/index.html \
|
--load "../$TargetWiki.html" \
|
||||||
--output ./Wiki-OcttKB \
|
--output "./Wiki-$TargetWiki" \
|
||||||
--savewikifolder ./Wiki-OcttKB
|
--savewikifolder "./Wiki-$TargetWiki"
|
||||||
cd ./Wiki-OcttKB/tiddlers
|
|
||||||
|
cd "./Wiki-$TargetWiki/tiddlers"
|
||||||
mkdir -vp ../Normal ../System
|
mkdir -vp ../Normal ../System
|
||||||
mv \$__* ../System/
|
mv \$__* ../System/ || true
|
||||||
mv * ../Normal/
|
mv * ../Normal/ || true
|
||||||
mv ../System ../Normal ./
|
mv ../System ../Normal ./
|
||||||
cd ../..
|
cd ../..
|
||||||
git add .
|
GitPush "OcttKB Cross-Repo Sync (HTML to Raw)"
|
||||||
git commit -m "OcttKB Cross-Repo Sync (HTML to Raw)"
|
|
||||||
git push
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
created: 20230611200714094
|
created: 20230611200714094
|
||||||
creator: Octt
|
creator: Octt
|
||||||
modified: 20230611200732434
|
modified: 20230611213201141
|
||||||
modifier: Octt
|
modifier: Octt
|
||||||
title: $:/OcttKB/Repo/GitLab.CrossRepoSync.sh
|
title: $:/OcttKB/Repo/GitLab.CrossRepoSync.sh
|
||||||
type: text/plain
|
type: text/plain
|
@ -1,6 +1,6 @@
|
|||||||
created: 20230611175011888
|
created: 20230611175011888
|
||||||
creator: Octt
|
creator: Octt
|
||||||
list:
|
list:
|
||||||
modified: 20230611200621985
|
modified: 20230611211426118
|
||||||
modifier: Octt
|
modifier: Octt
|
||||||
title: $:/StoryList
|
title: $:/StoryList
|
@ -1,7 +1,7 @@
|
|||||||
created: 20220920092307479
|
created: 20220920092307479
|
||||||
creator: Octt
|
creator: Octt
|
||||||
modified: 20230611201422098
|
modified: 20230611201623892
|
||||||
modifier: Octt
|
modifier: Octt
|
||||||
title: $:/state/tab/sidebar--595412856
|
title: $:/state/tab/sidebar--595412856
|
||||||
|
|
||||||
$:/core/ui/SideBar/Open
|
$:/core/ui/SideBar/More
|
Loading…
x
Reference in New Issue
Block a user