We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5d6d4 commit 5eb05c9Copy full SHA for 5eb05c9
.travis.yml
@@ -12,7 +12,7 @@ jobs:
12
- python manage.py makemigrations
13
- python manage.py migrate
14
- stage: deploy-dev
15
- if: branch = master
+ if: branch = master AND type = push
16
before_script:
17
- docker pull philm/ansible_playbook
18
- git clone -b master https://github.com/biojs/biojs-backend-ansible.git
@@ -27,7 +27,7 @@ jobs:
27
philm/ansible_playbook dev-deploy.yml
28
--private-key=~/.ssh/id_rsa -u ubuntu -i dev_hosts
29
- stage: deploy-production
30
- if: branch = production
+ if: branch = production AND type = push
31
32
33
- git clone -b production https://github.com/biojs/biojs-backend-ansible.git
0 commit comments