summaryrefslogtreecommitdiff
path: root/buildbot/build-docs.sh
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-06 04:06:40 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-06 04:06:40 +0100
commitc6d43b1274c044c275f8dbea343aff33593a7485 (patch)
treea258df7a7e2e95a62b0bdeaf7ea97b986c7527a7 /buildbot/build-docs.sh
parent94c7476dc8dc7a343e036d0cfaf52514d5c08610 (diff)
downloaddeployment-c6d43b1274c044c275f8dbea343aff33593a7485.tar.gz
deployment-c6d43b1274c044c275f8dbea343aff33593a7485.tar.bz2
deployment-c6d43b1274c044c275f8dbea343aff33593a7485.zip
build docs the same way as blue/green
Diffstat (limited to 'buildbot/build-docs.sh')
-rwxr-xr-xbuildbot/build-docs.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/buildbot/build-docs.sh b/buildbot/build-docs.sh
new file mode 100755
index 0000000..92f5078
--- /dev/null
+++ b/buildbot/build-docs.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -eu
+
+cd $HOME/deployment
+
+# like "git pull", but discard local changes
+git fetch
+git reset --hard FETCH_HEAD
+
+cd $HOME/deployment/taler-docbuild
+./invalidate.sh
+
+make