Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit c84aaeb

Browse files
author
Dennis Schwartz
authored
Merge branch 'master' into fix-about-overlap
2 parents d9c3793 + 24fee13 commit c84aaeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
script:
1616
- npm run unit
1717
- stage: deploy-dev
18-
if: branch = master
18+
if: branch = master AND type = push
1919
before_script:
2020
- docker pull philm/ansible_playbook
2121
- git clone -b master https://github.com/biojs/biojs-backend-ansible.git
@@ -30,7 +30,7 @@ jobs:
3030
philm/ansible_playbook dev-deploy.yml
3131
--private-key=~/.ssh/id_rsa -u ubuntu -i dev_hosts
3232
- stage: deploy-production
33-
if: branch = production
33+
if: branch = production AND type = push
3434
before_script:
3535
- docker pull philm/ansible_playbook
3636
- git clone -b production https://github.com/biojs/biojs-backend-ansible.git

0 commit comments

Comments
 (0)