25 lines
642 B
YAML
25 lines
642 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: debian
|
|
commands:
|
|
- ls ~
|
|
- pwd
|
|
- ls -la /
|
|
- touch /was-duerfen-wir
|
|
- who
|
|
- uname -a
|
|
- id
|
|
- groups
|
|
#- sudo last ## im alpine image gegenchecken, was dort verfügbar
|
|
#- sudo ls /var
|
|
- last
|
|
## secrets existieren nur in images / "plugin"s / build-steps
|
|
- name: image-test
|
|
image: codeberg.org/xfix/plugin-codeberg-pages-deploy
|
|
commands:
|
|
- docker images |