Fix for pulling terraform repo via git
This commit is contained in:
parent
54f7d2cf0d
commit
74afd36b47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue