summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-01-17 10:54:35 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-01-17 10:54:35 +0100
commit56fd37e2252221df464b9f0f744d5115df2960dc (patch)
treec9bdd0b5d9ffe11fdd4db4d8d2a07e5b605f68fe
parent1027a606f5a3dcdb50469bedec301bc11bedfdca (diff)
downloaddeployment-56fd37e2252221df464b9f0f744d5115df2960dc.tar.gz
deployment-56fd37e2252221df464b9f0f744d5115df2960dc.tar.bz2
deployment-56fd37e2252221df464b9f0f744d5115df2960dc.zip
trigger docs' landing build monitoring its own repository.
-rw-r--r--buildbot/master.cfg4
-rwxr-xr-xtaler-build/update_doc_landing.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 8a48418..c233e7b 100644
--- 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
index e4bc2bc..bbc0086 100755
--- 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}