Fix for pulling terraform repo via git

This commit is contained in:
ArseniiPetrovich 2018-08-15 16:06:52 +03:00
parent 54f7d2cf0d
commit 74afd36b47
1 changed files with 6 additions and 6 deletions

View File

@ -7,10 +7,10 @@ jobs:
steps:
- run:
command: git clone --force $terraform_repo ~/deployment-terraform/
command: rm -R ~/deployment-terraform/ && git clone $terraform_repo ~/deployment-terraform/
- run:
command: git checkout $terraform_branch ~/deployment-terraform/
command: git checkout $terraform_branch
- run:
name: adjust configs
@ -44,10 +44,10 @@ jobs:
steps:
- run:
command: git clone --force $terraform_repo ~/deployment-terraform/
command: rm -R ~/deployment-terraform/ && git clone $terraform_repo ~/deployment-terraform/
- run:
command: git checkout $terraform_branch ~/deployment-terraform/
command: git checkout $terraform_branch
- attach_workspace:
at: /tmp/hosts/
@ -78,10 +78,10 @@ jobs:
steps:
- run:
command: git clone --force $terraform_repo ~/deployment-terraform/
command: rm -R ~/deployment-terraform/ && git clone $terraform_repo ~/deployment-terraform/
- run:
command: git checkout $terraform_branch ~/deployment-terraform/
command: git checkout $terraform_branch
- run:
name: adjust configs