From 6117c3e4a57307fd374780836a130ac86608d8cd Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Thu, 25 Jan 2018 17:48:31 +0100 Subject: [PATCH] only publish docs from master --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 813ce814..2cdedb67 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ variables: - 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi' - 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \((real|user): [0-9]" | tee build-time.txt' # maybe generate and upload doc (has to be in this job as we need coq installed) - - 'if [[ -n "$DOCDIR" ]]; then build/coqdoc; fi' + - 'if [[ -n "$DOCDIR" && "$CI_COMMIT_REF_NAME" == master ]]; then build/coqdoc; fi' cache: key: "$CI_JOB_NAME" paths: -- GitLab