aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/daily-jjb-doc-update/include-doc-upload.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-05-21 14:18:08 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-05-21 14:18:55 +0200
commit24a9cf706f92e4fee987ba56287a356c7a718a97 (patch)
treec52070372676669ba673a171d6809574422cf014 /jjb/daily-jjb-doc-update/include-doc-upload.sh
parentbcdc52c8388d6826ca1f5523762a92ec25c4ba74 (diff)
Remove old doc update job and remove old content from new job
Delete the old multiversion job and also make the new job remove old content. Change-Id: I729c44723ad0063bea9614e9c9a0e6d2bb163d6f Bug-AGL: SPEC-2419 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/daily-jjb-doc-update/include-doc-upload.sh')
-rw-r--r--jjb/daily-jjb-doc-update/include-doc-upload.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/daily-jjb-doc-update/include-doc-upload.sh b/jjb/daily-jjb-doc-update/include-doc-upload.sh
index 9914e374..4518aea9 100644
--- a/jjb/daily-jjb-doc-update/include-doc-upload.sh
+++ b/jjb/daily-jjb-doc-update/include-doc-upload.sh
@@ -14,7 +14,7 @@ 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/
+rm -rf $TMPDIR/upload-gh-pages/*
cp -ar $HTDOCS/* $TMPDIR/upload-gh-pages/
pushd $TMPDIR/upload-gh-pages
git config user.name build.automotivelinux.org