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