diff --git a/gitlab-build.sh b/gitlab-build.sh index 1999df08581e0b4a6fcfc5d7cd91df215ac66bea..d154d12ee57ee029dd70c8ef28bf6edc2cf07f4e 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -80,9 +80,9 @@ HERE eval "$(ssh-agent -s)" echo "${PRIVATE_KEY}" | base64 -d | ssh-add - if [ "$VER_DIR" = "latest" ]; then - rsync -e 'ssh -p 45' -vP public/index.html docs@beagleboard.org:/var/www/docs/ + rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -vP public/index.html docs@beagleboard.org:/var/www/docs/ fi - rsync -e 'ssh -p 45' -avP --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR + rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -avP --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR fi fi }