„.woodpecker.yml“ ändern
This commit is contained in:
parent
6107b50ac5
commit
e7bc5da64c
1 changed files with 20 additions and 20 deletions
|
@ -1,21 +1,21 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: ubuntu:20.04
|
||||
environment:
|
||||
TEST1: "test1"
|
||||
TEST2: "test2"
|
||||
commands:
|
||||
- mkdir test
|
||||
- echo $TEST1
|
||||
- echo $${TEST2}
|
||||
- echo "geht :D" > test/test
|
||||
|
||||
release:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://gitea.makerlab-murnau.de
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files: test/*
|
||||
when:
|
||||
event: tag
|
||||
build:
|
||||
image: ubuntu:20.04
|
||||
environment:
|
||||
TEST1: "test1"
|
||||
TEST2: "test2"
|
||||
commands:
|
||||
- mkdir test
|
||||
- echo $TEST1
|
||||
- echo $${TEST2}
|
||||
- echo "geht :D" > test/test
|
||||
|
||||
release:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://gitea.makerlab-murnau.de
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files: test/*
|
||||
when:
|
||||
event: tag
|
Loading…
Reference in a new issue