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