diff options
Diffstat (limited to 'jjb/daily-jjb-doc-update/include-doc-upload.sh')
-rw-r--r-- | jjb/daily-jjb-doc-update/include-doc-upload.sh | 16 |
1 files changed, 16 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 new file mode 100644 index 00000000..116f703f --- /dev/null +++ b/jjb/daily-jjb-doc-update/include-doc-upload.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# publish the docs +pushd webdocs-agl + git clone -b gh-pages git@github.com:automotive-grade-linux/docs-agl.git upload-gh-pages + cp -ar build-dev/* upload-gh-pages/ + pushd upload-gh-pages + git config user.name build.automotivelinux.org + git config user.email jenkins@automotivelinux.org + git diff + git add . + git commit --amend -m"Render: $(date)" + git push origin gh-pages:gh-pages -f + popd +popd + |