From b0656abda1ce9606281d9020844baca9e7f4f140 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Thu, 13 Jun 2019 13:45:36 +0200 Subject: [PATCH] circleci: fix building docs on non-master builds --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f1b1ca91e..b2ff9ba83 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: -- 2.40.0