2023-02-28 10:34:48 +01:00
|
|
|
#!/bin/sh
|
2023-02-28 12:07:24 +01:00
|
|
|
TargetRepo="OcttKB"
|
|
|
|
cd ./Wiki
|
2023-02-28 10:34:48 +01:00
|
|
|
tiddlywiki \
|
|
|
|
--verbose \
|
2023-02-28 12:07:24 +01:00
|
|
|
--output ./Output.tmp \
|
|
|
|
--rendertiddler "$:/core/save/all" "index.html" "text/plain"
|
|
|
|
git clone --depth 1 https://gitlab.com/octtspacc/$TargetRepo ./$TargetRepo
|
|
|
|
cd ./$TargetRepo
|
|
|
|
cp -r ../Output.tmp/index.html ./public/index.html
|
2023-02-28 10:34:48 +01:00
|
|
|
git add .
|
2023-02-28 12:07:24 +01:00
|
|
|
git commit -m "OcttKB Cross-Repo Sync (Raw to HTML)"
|
2023-02-28 10:34:48 +01:00
|
|
|
git push
|