diff --git a/.gitea/workflows/commit.yaml b/.gitea/workflows/commit.yaml index d9635ac..97aefc2 100644 --- a/.gitea/workflows/commit.yaml +++ b/.gitea/workflows/commit.yaml @@ -20,6 +20,8 @@ jobs: - name: Custom Checkout env: ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} + SPEEDBB_REPO: ${{ vars.SPEEDBB_REPO }} + PROD_BASE_DIR: ${{ vars.PROD_BASE_DIR }} ANSIBLE_POSIX_ACL: false run: | git clone --quiet --no-checkout --depth=1 --branch=${{ gitea.ref_name }} ${{ vars.SPEEDBB_REPO }} ./repo @@ -33,8 +35,5 @@ jobs: ls -la cat hosts.ini echo "$ANSIBLE_VAULT_PASSWORD" > .vault_pass.txt - echo "=== Vault contents ===" - ansible-vault view --vault-password-file .vault_pass.txt vars/vault.yaml - echo "=== End vault contents ===" ansible-playbook --vault-password-file .vault_pass.txt deploy-to-prod.yaml - rm .vault_pass.txt \ No newline at end of file + rm .vault_pass.txt