1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 09:05:17 +01:00

prevent interactive prompt on Travis

This commit is contained in:
Matthias Kretschmann 2015-08-31 22:29:23 +02:00
parent 1aa680c183
commit 03e709e8c8

View File

@ -21,6 +21,9 @@ echo " Starting rsync deployment "
echo "=============================================" echo "============================================="
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset
# prevent interactive prompt
ssh-keyscan -H ftp.kremalicious.com >> ~/.ssh/known_hosts
rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $TRAVIS_BUILD_DIR/_site/ kremalicious.com@ftp.kremalicious.com:/nfs/c08/h04/mnt/126308/domains/kremalicious.com/html/ rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $TRAVIS_BUILD_DIR/_site/ kremalicious.com@ftp.kremalicious.com:/nfs/c08/h04/mnt/126308/domains/kremalicious.com/html/
echo "$(tput setaf 64)" # green echo "$(tput setaf 64)" # green