Skip to content

Commit 1e5d6d4

Browse files
author
Dennis Schwartz
committed
Pull respective branches of ansible scripts for prod and dev deploys.
1 parent 356cd10 commit 1e5d6d4

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
if: branch = master
1616
before_script:
1717
- docker pull philm/ansible_playbook
18-
- git clone https://github.com/biojs/biojs-backend-ansible.git
18+
- git clone -b master https://github.com/biojs/biojs-backend-ansible.git
1919
- openssl aes-256-cbc -K $encrypted_cf08b333dbdc_key -iv $encrypted_cf08b333dbdc_iv
2020
-in deployment-key.enc -out ~/.ssh/id_rsa -d
2121
script:
@@ -30,7 +30,7 @@ jobs:
3030
if: branch = production
3131
before_script:
3232
- docker pull philm/ansible_playbook
33-
- git clone https://github.com/biojs/biojs-backend-ansible.git
33+
- git clone -b production https://github.com/biojs/biojs-backend-ansible.git
3434
- openssl aes-256-cbc -K $encrypted_cf08b333dbdc_key -iv $encrypted_cf08b333dbdc_iv
3535
-in deployment-key.enc -out ~/.ssh/id_rsa -d
3636
script:

0 commit comments

Comments
 (0)