Rename directory [ci skip]
This commit is contained in:
parent
65c100a812
commit
cf58cc6d23
20 changed files with 14 additions and 14 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -201,23 +201,23 @@ jobs:
|
|||
- name: Cache dependencies
|
||||
uses: actions/cache@d9747005de0f7240e5d35a68dca96b3f41b8b340
|
||||
with:
|
||||
path: tools/ansible/.roles
|
||||
key: dependencies-composer-${{ hashFiles('tools/ansible/requirements.yml') }}
|
||||
path: tools/deployment/.roles
|
||||
key: dependencies-composer-${{ hashFiles('tools/deployment/requirements.yml') }}
|
||||
|
||||
- name: Download Ansible roles
|
||||
run: ansible-galaxy install -r tools/ansible/requirements.yml
|
||||
run: ansible-galaxy install -r tools/deployment/requirements.yml
|
||||
|
||||
- name: Export the Ansible Vault password
|
||||
run: echo $ANSIBLE_VAULT_PASS > tools/ansible/.vault-pass.txt
|
||||
run: echo $ANSIBLE_VAULT_PASS > tools/deployment/.vault-pass.txt
|
||||
env:
|
||||
ANSIBLE_VAULT_PASS: ${{ secrets.ANSIBLE_VAULT_PASS }}
|
||||
|
||||
- name: Deploy the code
|
||||
run: >
|
||||
ansible-playbook tools/ansible/deploy.yml
|
||||
-i tools/ansible/hosts.yml
|
||||
ansible-playbook tools/deployment/deploy.yml
|
||||
-i tools/deployment/hosts.yml
|
||||
-e "ansistrano_deploy_branch=$GITHUB_SHA"
|
||||
--vault-password-file=tools/ansible/.vault-pass.txt
|
||||
--vault-password-file=tools/deployment/.vault-pass.txt
|
||||
|
||||
- name: Remove the Ansible Vault password file
|
||||
run: rm tools/ansible/.vault-pass.txt
|
||||
run: rm tools/deployment/.vault-pass.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue