www/push.sh
Simon Marsh 86fbf71ece
Some checks failed
continuous-integration/drone/push Build is failing
Add drone
2020-08-21 22:21:22 +01:00

22 lines
484 B
Bash
Executable File

#!/bin/bash
########################################################################
# where am I ?
SCRIPTPATH="$(cd "$(dirname "$0")" ; pwd -P)"
# website hosts
hosts=(
'rsyncd.tier2.fr-sbg1.burble.dn42'
)
for host in ${hosts[@]}
do
echo "Syncing host: $host"
rsync -avogp --chown=100:101 --chmod=D2750,F640 \
${SCRIPTPATH}/pages/ \
deploy@${host}::bdn42
done
########################################################################
# end of file