24 lines
541 B
YAML
24 lines
541 B
YAML
|
when:
|
||
|
- event: push
|
||
|
branch: [no-real-branch, feature/working-*]
|
||
|
#https://woodpecker-ci.org/docs/usage/workflow-syntax#when---conditional-execution
|
||
|
|
||
|
steps:
|
||
|
- name: wir-testen-die-umgebung
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- ls ~
|
||
|
- pwd
|
||
|
- ls -la /
|
||
|
- touch /was-duerfen-wir
|
||
|
- who
|
||
|
- uname -a
|
||
|
- id
|
||
|
- groups
|
||
|
- last
|
||
|
- name: going-private
|
||
|
image: debian
|
||
|
commands:
|
||
|
- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich?
|
||
|
secrets: [ SECRET_API_TOKEN, mytest_mycmd ]
|