aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/daily-jjb-doc-update
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/daily-jjb-doc-update')
-rw-r--r--jjb/daily-jjb-doc-update/include-doc-upload.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/daily-jjb-doc-update/include-doc-upload.sh b/jjb/daily-jjb-doc-update/include-doc-upload.sh
index f0cbd92e..9914e374 100644
--- a/jjb/daily-jjb-doc-update/include-doc-upload.sh
+++ b/jjb/daily-jjb-doc-update/include-doc-upload.sh
@@ -11,6 +11,7 @@ TMPDIR=${TMPDIR:-$WORKSPACE/upload-gh}
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
+rm -rf $TMPDIR || true
mkdir -p $TMPDIR
git clone -b gh-pages git@github.com:automotive-grade-linux/docs-gh-pages.git $TMPDIR/upload-gh-pages
mkdir -p $TMPDIR/upload-gh-pages/