Hello-world/.woodpecker.yml

35 lines
583 B
YAML
Raw Normal View History

steps:
test1:
image: bash
commands:
- pwd
- w
- whoami
- echo $HOME
- echo $SECRET
- env
secrets: [ secret ]
test2:
image: sh
commands:
- pwd
- w
- echo $HOME
test3:
image: fish
commands:
- echo test > test
- echo test2 >> test
- echo (cat test)
- python -c "import this"
- set test a
- echo $test
test4:
image: zsh
commands:
- echo Hello world!
- echo $SHELL
- pwd
- env
- git status