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 1d76ab8 commit a51f6d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ steps:
strip_components: 3
when:
branch: [develop]
repo: TheHive-Project/TheHive

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

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

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

volumes:
- name: cache
Expand Down

0 comments on commit a51f6d9

Please sign in to comment.