ci: fix secret?
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed

This commit is contained in:
Michael Grote 2024-05-06 23:38:39 +02:00
parent c470e1573d
commit 5436e47ad8

View file

@ -10,9 +10,8 @@ steps:
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
- ansible-galaxy install -r requirements.yml
- ansible-lint --force-color --format pep8
secrets:
- source: vault-pass # name des Secrets in Woodpecker/GUI
target: vaultpass # lower-case Name der Variable zur Verwendung in dem CI-File, wird dann so genutzt $${VAULTPASS}
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
secrets: [ vaultpass ]
when:
- event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'