From: Pieter Lexis Date: Thu, 13 Jun 2019 11:45:36 +0000 (+0200) Subject: circleci: fix building docs on non-master builds X-Git-Tag: dnsdist-1.4.0-rc1~135 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fpdns.git;a=commitdiff_plain;h=b0656abda1ce9606281d9020844baca9e7f4f140 circleci: fix building docs on non-master builds --- diff --git a/.circleci/config.yml b/.circleci/config.yml index f1b1ca91e5..b2ff9ba835 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -363,7 +363,7 @@ commands: - run: name: build docs command: | - make all-docs + make html-docs if [ "${CIRCLE_PROJECT_USERNAME}" = "PowerDNS" -a "${CIRCLE_PROJECT_REPONAME}" = "pdns" -a "${CIRCLE_BRANCH}" = "master" ]; then make all-docs fi @@ -399,7 +399,10 @@ commands: - run: name: build docs command: | - make all-docs + make html-docs + if [ "${CIRCLE_PROJECT_USERNAME}" = "PowerDNS" -a "${CIRCLE_PROJECT_REPONAME}" = "pdns" -a "${CIRCLE_BRANCH}" = "master" ]; then + make all-docs + fi working_directory: ~/project/pdns/dnsdistdist upload-dnsdist-docs: