2023-02-28 12:07:24 +01:00
|
|
|
#!/bin/sh
|
2023-03-03 13:06:20 +01:00
|
|
|
sh ./OcttKB.EmptyDate.sh
|
2023-02-28 12:07:24 +01:00
|
|
|
sh ./SetupGitProfile.sh
|
2023-03-24 12:38:21 +01:00
|
|
|
|
2023-03-24 16:16:00 +01:00
|
|
|
rm -rf ./Output.tmp || true
|
|
|
|
|
2023-03-24 12:38:21 +01:00
|
|
|
tiddlywiki \
|
2023-03-24 13:04:31 +01:00
|
|
|
./Wiki-OcttKB \
|
2023-03-24 12:38:21 +01:00
|
|
|
--verbose \
|
|
|
|
--output ./Output.tmp \
|
|
|
|
--rendertiddler "$:/core/save/all" "index.html" "text/plain"
|
|
|
|
|
|
|
|
mkdir -vp ./public
|
|
|
|
cp -v ./Output.tmp/index.html ./public/index.html
|
|
|
|
|
2023-02-28 12:07:24 +01:00
|
|
|
CommitCheck="$(git log -1 --pretty=%B)"
|
|
|
|
CommitMsg0="OcttKB Cross-Repo Sync"
|
2023-03-03 13:06:20 +01:00
|
|
|
[ "$CommitCheck" != "$CommitMsg0 (HTML to Raw)" ] && [ "$CommitCheck" != "$CommitMsg0 (Raw to HTML)" ] && sh ./GitLab.CrossRepoSync.sh || true
|