mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-02-09 07:58:58 +01:00
20 lines
467 B
Plaintext
20 lines
467 B
Plaintext
|
#!/bin/sh
|
||
|
TargetRepo="OcttKB"
|
||
|
git clone --depth 1 https://gitlab.com/octtspacc/$TargetRepo ./Repo-$TargetRepo
|
||
|
cd ./Repo-$TargetRepo
|
||
|
rm -rf ./Wiki-OcttKB
|
||
|
tiddlywiki \
|
||
|
--verbose \
|
||
|
--load ../public/index.html \
|
||
|
--output ./Wiki-OcttKB \
|
||
|
--savewikifolder ./Wiki-OcttKB
|
||
|
cd ./Wiki-OcttKB/tiddlers
|
||
|
mkdir -vp ../Normal ../System
|
||
|
mv \$__* ../System/
|
||
|
mv * ../Normal/
|
||
|
mv ../System ../Normal ./
|
||
|
cd ../..
|
||
|
git add .
|
||
|
git commit -m "OcttKB Cross-Repo Sync (HTML to Raw)"
|
||
|
git push
|