Skip to content

Commit

Permalink
#882 Disable deployment on pull-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 19, 2019
1 parent a51f6d9 commit 3dce91a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ steps:
strip_components: 3
when:
branch: [develop]
repo: TheHive-Project/TheHive
event: {exclude: [pull_request]}

- name: deploy binaries in integration environment
image: appleboy/drone-ssh
Expand All @@ -171,7 +171,7 @@ steps:
- ./start thehive ${DRONE_BUILD_NUMBER}
when:
branch: [develop]
repo: TheHive-Project/TheHive
event: {exclude: [pull_request]}

# Deploy binaries in staging environment
- name: copy binaries in staging environment
Expand All @@ -185,7 +185,7 @@ steps:
strip_components: 3
when:
branch: [master]
repo: TheHive-Project/TheHive
event: {exclude: [pull_request]}

- name: deploy binaries in staging environment
image: appleboy/drone-ssh
Expand All @@ -197,7 +197,7 @@ steps:
- ./start thehive ${DRONE_BUILD_NUMBER}
when:
branch: [master]
repo: TheHive-Project/TheHive
event: {exclude: [pull_request]}

volumes:
- name: cache
Expand Down

0 comments on commit 3dce91a

Please sign in to comment.