From 5436e47ad807e78c0441ded5f3597d2a01c5e38c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:38:39 +0200 Subject: [PATCH] ci: fix secret? --- .woodpecker/ansible-lint.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index bcb13867..a3a111fa 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -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"'