Fix vault
This commit is contained in:
parent
f932fbe4e4
commit
08d8d67ced
@ -34,10 +34,10 @@ fi
|
|||||||
args=("$PLUGIN_PLAYBOOK")
|
args=("$PLUGIN_PLAYBOOK")
|
||||||
|
|
||||||
if [ -n "$PLUGIN_VAULT_TOKEN" ]; then
|
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"
|
run_command "mkdir credentials"
|
||||||
echo "$PLUGIN_VAULT_TOKEN" > credentials/vault_token
|
echo "$PLUGIN_VAULT_TOKEN" > credentials/ci_vault_token
|
||||||
args+=("--vault-password-file" "credentials/vault_token")
|
args+=("--vault-password-file" "credentials/ci_vault_token")
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user