added -A flag to ssh command to be able to pull on the lb host

This commit is contained in:
derpeter 2016-10-23 22:21:11 +02:00
parent ead7183079
commit 531aa95770

View file

@ -6,7 +6,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
ssh voc@lb.dus.c3voc.de 'sudo sh' << EOT
ssh -A voc@lb.dus.c3voc.de 'sudo sh' << EOT
cd /srv/nginx/streaming-website
git fetch origin
git reset --hard origin/master