about summary refs log tree commit diff
path: root/deploy.sh
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2022-01-30 01:23:48 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2022-01-30 01:23:48 +0100
commite185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3 (patch)
tree675c7c23d1cb08d57b496da189707f833c26f348 /deploy.sh
parenta68bc1cf4ecb30c7f6157bfffdeb7f7485dc6ec0 (diff)
downloadsuplement-sprawnosci-e185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3.tar.gz
suplement-sprawnosci-e185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3.zip
Strona www v0.1.0
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..1f4b22a
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+## Renderowanie suplementu i opublikowanie na stronie
+
+soelim suplement.tr | sed 's/ \([i|w|z]\) / \1\\~/g' | neatroff -Ffonts -mpost | neatpdf -pa4 > html/suplement.pdf
+
+find krazki -iname '*.png' -o -iname '*.svg' | zip -@ html/krazki.zip
+
+rsync -aP html/ srv1:/srv/www/zhr.niedzwiedzinski.cyou/sprawnosci