skripty/publikuj.sh
author František Kučera <franta-hg@frantovo.cz>
Fri, 21 Dec 2018 12:18:43 +0100
branchv_0
changeset 222 a02847f786d9
parent 203 7fc78d738333
permissions -rwxr-xr-x
roadmap: performance
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
203
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
#!/bin/bash
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
SERVER="globalcode.info";
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
ADRESAR="/var/www/relational-pipes.globalcode.info/$(hg branch)/";
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
rsync -av výstup/ $SERVER:$ADRESAR