Add site update sript.

This commit is contained in:
Jordan Bancino 2022-07-22 21:38:33 -04:00
parent 1753e872a2
commit 182aed8d72
1 changed files with 11 additions and 0 deletions

11
release/update-site.sh Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env sh
if [ -z "$TELODENDRIA_PUB" ]; then
echo "No public root directory specified."
echo "Set TELODENDRIA_PUB."
exit 1
fi
cp "Telodendria.css" "$TELODENDRIA_PUB/"
cp "Telodendria.html" "$TELODENDRIA_PUB/index.html"
cp "release/telodendria-signify.pub" "$TELODENDRIA_PUB/"