skripty/publikuj.sh
author František Kučera <franta-hg@frantovo.cz>
Sat, 11 Jan 2020 20:24:43 +0100
branchv_0
changeset 290 e73765513aec
parent 203 7fc78d738333
permissions -rwxr-xr-x
fix read_nullbyte() to avoid trimming whitespace
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