Anthony Wang
25b5e93205
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
36 lines
605 B
YAML
36 lines
605 B
YAML
clone:
|
|
git:
|
|
image: bash
|
|
commands:
|
|
- w
|
|
pipeline:
|
|
test1:
|
|
image: bash
|
|
commands:
|
|
- pwd
|
|
- w
|
|
- whoami
|
|
- echo $HOME
|
|
- if [ $PASSWORD = "helloworld" ]; then echo "YAY"; fi
|
|
secrets: [ password ]
|
|
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
|