Don't run commit-trigger steps on PRs

This commit is contained in:
Hamcha 2019-09-09 14:20:21 +02:00
parent d34fb1298b
commit 04c0d66f8d
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -34,6 +34,9 @@ steps:
target: /${DRONE_COMMIT_SHA:0:8}/ target: /${DRONE_COMMIT_SHA:0:8}/
path_style: true path_style: true
endpoint: https://artifacts.fromouter.space endpoint: https://artifacts.fromouter.space
when:
event:
- push
- name: upload_build_pr - name: upload_build_pr
image: plugins/s3 image: plugins/s3
@ -64,6 +67,8 @@ steps:
path_style: true path_style: true
endpoint: https://artifacts.fromouter.space endpoint: https://artifacts.fromouter.space
when: when:
event:
- push
branch: branch:
- master - master
@ -89,6 +94,9 @@ steps:
target: /${DRONE_COMMIT_SHA:0:8}/ target: /${DRONE_COMMIT_SHA:0:8}/
path_style: true path_style: true
endpoint: https://artifacts.fromouter.space endpoint: https://artifacts.fromouter.space
when:
event:
- push
- name: upload_coverage_pr - name: upload_coverage_pr
image: plugins/s3 image: plugins/s3