1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-05 15:15:44 +02:00

Merge pull request #312 from SAP/pr/fixsshmkdocs

added github.com to knownhosts
This commit is contained in:
Thorsten Duda 2018-09-26 12:46:15 +02:00 committed by GitHub
commit 09dfa67605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ PRIVATE_KEY="cfg/id_rsa"
chmod 600 "${PRIVATE_KEY}"
eval `ssh-agent -s`
ssh-add "${PRIVATE_KEY}"
ssh-keyscan github.com >> ~/.ssh/known_hosts
git config user.name "Travis CI Publisher"
git remote add docu "git@github.com:$TRAVIS_REPO_SLUG.git";
git fetch docu gh-pages:gh-pages