Fixing strict host checking issue

This commit is contained in:
Ric Harvey
2015-01-30 11:34:58 +00:00
parent dcf6cd77bf
commit 54c19709c3
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/bash
# Disable Strict Host checking for non interactive git clones
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
# Pull down code form git for our site!
if [ ! -z "$GIT_REPO" ]; then
rm /usr/share/nginx/html/*