Fix: travis needs to clone it again because it needs gh-pages

This commit is contained in:
Philipp Oppermann
2015-11-07 00:10:53 +01:00
parent 753c8d4aea
commit 5978234f15

View File

@@ -17,7 +17,7 @@ mkdir -p ~/.ssh
openssl aes-256-cbc -K $key -iv $iv -in scripts/travis-blog_os.enc -out ~/.ssh/id_rsa -d openssl aes-256-cbc -K $key -iv $iv -in scripts/travis-blog_os.enc -out ~/.ssh/id_rsa -d
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
git clone --branch gh-pages ./ deploy_blog git clone --branch gh-pages git@github.com:$TRAVIS_REPO_SLUG deploy_blog
cd deploy_blog cd deploy_blog
git config user.name "blog update bot" git config user.name "blog update bot"