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
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