2021-06-05 08:34:35 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-08-01 19:06:22 -04:00
|
|
|
wikiPath='/mnt/k8s-storage/wikis/website-wiki/mywiki'
|
|
|
|
devWebsite='/mnt/k8s-storage/delfax/website'
|
|
|
|
|
|
|
|
cd ${wikiPath}
|
2021-06-05 08:34:35 -04:00
|
|
|
sudo tiddlywiki --rendertiddlers [!is[system]!tag[Draft]] $:/rdr231/templates/static.tiddler.html static text/plain --rendertiddler $:/rdr231/templates/static.template.css static/static.css text/plain
|
2021-08-01 19:06:22 -04:00
|
|
|
sudo rsync -avv --delete ${wikiPath}/output/static/ ${devWebsite}/
|
|
|
|
sudo chmod -R o+r ${devWebsite}/*
|
2021-06-05 08:34:35 -04:00
|
|
|
|