11 lines
431 B
Bash
Executable File
11 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
wikiPath='/mnt/k8s-storage/wikis/website-wiki/mywiki'
|
|
devWebsite='/mnt/k8s-storage/delfax/website'
|
|
|
|
cd ${wikiPath}
|
|
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
|
|
sudo rsync -avv --delete ${wikiPath}/output/static/ ${devWebsite}/
|
|
sudo chmod -R o+r ${devWebsite}/*
|
|
|