skripty/publikuj.sh
author František Kučera <franta-hg@frantovo.cz>
Mon, 27 Jul 2020 16:48:40 +0200
branchv_0
changeset 309 71a627e72815
parent 203 7fc78d738333
permissions -rwxr-xr-x
contact: update links
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