Syntax nun richtig?
This commit is contained in:
parent
9914006e57
commit
ba3ddb5d22
|
@ -1,4 +1,4 @@
|
|||
#
|
||||
# https://woodpecker-ci.org/docs/usage/intro
|
||||
when:
|
||||
- event: push
|
||||
branch: feature/working-forgejo-actions
|
||||
|
@ -7,11 +7,11 @@ when:
|
|||
steps:
|
||||
- name: build
|
||||
#image: debian # alpine // docker pull docker.io/library/alpine
|
||||
image ubuntu:22.04
|
||||
image: ubuntu:22.04
|
||||
commands:
|
||||
- echo "This is the build step"
|
||||
#wie kann man Bash Shebang nutzen?
|
||||
- cat << EOF > simple-shell-test.sh
|
||||
#!/bin/bash
|
||||
echo 'ich bin keine Katze'
|
||||
cat 'und auch kein Hund'
|
||||
ls -la /
|
||||
|
@ -21,4 +21,4 @@ EOF
|
|||
image: alpine #golang:1.16
|
||||
commands:
|
||||
- echo "Testing ..."
|
||||
- ./executable
|
||||
- /bin/bash ./executable
|
Loading…
Reference in a new issue