From a2fc23e8e8f990f60e5121c25dac811fec1106ce Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 11 Oct 2024 11:58:43 +0200 Subject: [PATCH] add missing env vars --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73ee89c..9fb6e2a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,11 @@ jobs: # Set this option if you want the action to check for the latest available version that satisfies the version spec. check-latest: true - name: Run ansible + env: + ANSIBLE_INVENTORY: inventories/github.yaml + ANSIBLE_VAULT_PASSWORD_FILE: vault.pass run: | + echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > $ANSIBLE_VAULT_PASSWORD_FILE export KEY_FILE=$(mktemp) echo "${{ secrets.DEPLOY_KEY }}" > $KEY_FILE ansible-playbook playbooks/all.yaml