Change deprecated pipeline: to steps: in .woodpecker.yml

This commit is contained in:
Anthony Wang 2023-11-23 23:12:54 +00:00
parent 31af807d7a
commit 25f1535164

View file

@ -1,34 +1,34 @@
pipeline:
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
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