Skip to content

Commit 65bedca

Browse files
authored
Use full path for .vault file (#1746)
1 parent be723a3 commit 65bedca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/prod-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
- name: Run Ansible Airflow Playbook for Prod
5050
working-directory: ansible-playbook-airflow
5151
run: |
52-
5352
pipenv run ansible-galaxy install -r requirements.yml
54-
cp .github/.vault ~/.vault;
53+
cp cp ${{ github.workspace }}/.github/.vault ~/.vault;
5554
chmod +x ~/.vault
5655
pipenv run ansible-playbook -i inventory/prod playbook.yml --tags "jumphost,role::airflow::dags" --vault-password-file=~/.vault -e 'ansible_ssh_port=9229' -e cob_datapipeline_branch=$COB_DATAPIPELINE_BRANCH

.github/workflows/qa-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
working-directory: ansible-playbook-airflow
4848
run: |
4949
pipenv run ansible-galaxy install -r requirements.yml
50-
cp .github/.vault ~/.vault;
50+
cp cp ${{ github.workspace }}/.github/.vault ~/.vault;
5151
chmod +x ~/.vault
5252
pipenv run ansible-playbook -i inventory/qa playbook.yml --tags "jumphost,role::airflow::dags" --vault-password-file=~/.vault -e 'ansible_ssh_port=9229'

0 commit comments

Comments
 (0)