and avoid key verification issue.
Change-Id: If8b6023cf4bae141bf9eff3ee0b70b127282faa5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
+Host github.com
+ StrictHostKeyChecking no
+ UserKnownHostsFile /dev/null
+
EOSSH
cat <<EOKNOWN > /etc/ssh/ssh_known_hosts
# publish the docs
+ssh-keyscan -H github.com >> ~/.ssh/known_hosts
+
mkdir -p $TMPDIR
git clone -b gh-pages git@github.com:automotive-grade-linux/docs-gh-pages.git $TMPDIR/upload-gh-pages
cp -ar $HTDOCS/* $TMPDIR/upload-gh-pages/
pushd $TMPDIR/upload-gh-pages
- git config user.name build.automotivelinux.org
+ git config user.name build.automotivelinux.org
git config user.email jenkins@automotivelinux.org
git diff
git add .