Hello-world/.woodpecker.yml
Anthony Wang 8284ebe478
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
zsh test
2022-01-22 18:10:34 -06:00

44 lines
757 B
YAML

clone:
git:
image: bash
commands:
- git clone https://git.exozy.me/Ta180m/Hello-world.git
pipeline:
test0:
image: bash
commands:
- cd Hello-world
- git status
test1:
image: bash
commands:
- pwd
- w
- neofetch
- echo $HOME
- if [ $PASSWORD = "helloworld" ]; then echo "YAY"; fi
secrets: [ password ]
test2:
image: sh
commands:
- pwd
- w
- neofetch
- 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