From ba84eecd943dacb2505dacb389c058472586b912 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 24 Jan 2019 16:09:42 +0000 Subject: [PATCH] build: don't attempt to upload artifacts for pull requests on circleci --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 13ede61b9..15760322e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,4 @@ +--- version: 2 jobs: @@ -41,7 +42,9 @@ jobs: - run: name: Upload artifacts command: | - make circleci_upload + if [[ $CIRCLE_PULL_REQUEST != "" ]]; then + make circleci_upload + fi - store_artifacts: path: /tmp/rclone.dist