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