commit 56fd37e2252221df464b9f0f744d5115df2960dc
parent 1027a606f5a3dcdb50469bedec301bc11bedfdca
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 17 Jan 2018 10:54:35 +0100
trigger docs' landing build monitoring its own repository.
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -61,7 +61,7 @@ c["change_source"] = [ALLCS]
def doc_filter(change):
_changes = change.asDict()
- if _changes.get("project") in ["api", "www", "merchant-frontend-examples"]:
+ if _changes.get("project") in ["docs-landing", "api", "www", "merchant-frontend-examples"]:
return True
files = _changes.get("files")
for file in files:
@@ -268,7 +268,7 @@ SELENIUM_FACTORY.addStep(ShellCommand(
def doc_dispatcher(project):
switch = {
- "landing": ["./update_doc_landing.sh"],
+ "docs-landing": ["./update_doc_landing.sh"],
"api": ["./update_api.sh"],
"backoffice": ["./update_doc_backoffice.sh"],
"www": ["./update_www_and_stage.sh"],
diff --git a/taler-build/update_doc_landing.sh b/taler-build/update_doc_landing.sh
@@ -10,10 +10,10 @@ fetch () {
git reset --hard "$branch"
}
-cd $HOME/landing
+cd $HOME/docs-landing/
fetch
git submodule update --force --init
# No compilation needed so far.
mkdir -p $HOME/build/docs-landing/
-cp -t $HOME/build/docs-landing/ docs/*.{html,css,svg}
+cp -t $HOME/build/docs-landing/ *.{html,css,svg}