build: don't attempt to upload artifacts for pull requests on circleci

This commit is contained in:
Nick Craig-Wood 2019-01-24 16:09:42 +00:00
parent ea12d76c03
commit ba84eecd94

View File

@ -1,3 +1,4 @@
---
version: 2 version: 2
jobs: jobs:
@ -41,7 +42,9 @@ jobs:
- run: - run:
name: Upload artifacts name: Upload artifacts
command: | command: |
make circleci_upload if [[ $CIRCLE_PULL_REQUEST != "" ]]; then
make circleci_upload
fi
- store_artifacts: - store_artifacts:
path: /tmp/rclone.dist path: /tmp/rclone.dist