From b6bb0a798333b70d0a7e5c1f123b666dfa40822c Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Mon, 18 Sep 2017 02:00:23 +0200 Subject: Convert doc site job to jjb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I87700e558dc20705f85a2ed78f8fe9df057e95e4 Signed-off-by: Jan-Simon Möller --- .../daily-jjb-doc-update.local.sh | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 jjb/daily-jjb-doc-update/daily-jjb-doc-update.local.sh (limited to 'jjb/daily-jjb-doc-update/daily-jjb-doc-update.local.sh') diff --git a/jjb/daily-jjb-doc-update/daily-jjb-doc-update.local.sh b/jjb/daily-jjb-doc-update/daily-jjb-doc-update.local.sh new file mode 100755 index 00000000..0ff414bf --- /dev/null +++ b/jjb/daily-jjb-doc-update/daily-jjb-doc-update.local.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +#rm -rf docs-agl || true +# cloning git@github.com:automotive-grade-linux/docs-agl.git + +if test -d docs-agl; then + pushd docs-agl + git remote -v update + git reset --hard origin/master + popd +else + git clone git@github.com:automotive-grade-linux/docs-agl.git +fi + +pushd docs-agl + + . ../include-doc-update.sh + + pushd webdocs-agl + + ( sleep 7 ; firefox http://127.0.0.1:4000 ) & + make serve + + popd + + +popd \ No newline at end of file -- cgit 1.2.3-korg