From a42d8e536564529cce11fbec0e475db375b3b88d Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sat, 16 Jun 2018 19:16:04 -0400 Subject: [PATCH] Don't try to upload builds if the FTL secret is empty This will fix fork PR builds as well as local builds. Signed-off-by: Mcat12 --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d63f171..0f03692 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,7 @@ jobs: - run: name: "Upload" command: | + [ -z "$FTL_SECRET" ] && exit 0 tar -czvf pihole-web.tar.gz -C build . wget https://ftl.pi-hole.net:8080/FTL-client chmod +x ./FTL-client