Fix vault
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful

This commit is contained in:
SebClem 2023-04-20 19:45:45 +02:00
parent f932fbe4e4
commit 08d8d67ced
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -34,10 +34,10 @@ fi
args=("$PLUGIN_PLAYBOOK")
if [ -n "$PLUGIN_VAULT_TOKEN" ]; then
echo "💼 Adding vault token to 'credentials/vault_token'"
echo "💼 Adding vault token to 'credentials/ci_vault_token'"
run_command "mkdir credentials"
echo "$PLUGIN_VAULT_TOKEN" > credentials/vault_token
args+=("--vault-password-file" "credentials/vault_token")
echo "$PLUGIN_VAULT_TOKEN" > credentials/ci_vault_token
args+=("--vault-password-file" "credentials/ci_vault_token")
echo ""
fi