Syntax nun richtig?

This commit is contained in:
Ludger Sicking 2024-09-02 15:44:35 +02:00
parent 9914006e57
commit ba3ddb5d22

View file

@ -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