vereinfachen: richtige syntax?

This commit is contained in:
Ludger Sicking 2024-09-09 08:29:44 +02:00
parent 02aa52669d
commit 10214911ea

View file

@ -20,12 +20,12 @@ steps:
- last
- name: going-private
image: debian
# settings:
# kommando:
# from_secret: mytest_mycmd
settings:
kommando:
from_secret: mytest_mycmd
commands:
#- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich?
- ls -la $MYTEST_MYCMD
- ls -la $kommando
#- scp -i $SECRET_API_TOKEN $CLIOPTION contributing.md $USER@$SERVER:targetfile
#secrets: [ SECRET_API_TOKEN, mytest_mycmd ]
#secrets: [ mytest_mycmd ] #gehts so?