test/.drone.yml

34 lines
666 B
YAML
Raw Normal View History

2021-12-21 20:52:45 +00:00
---
kind: pipeline
type: docker
name: default
steps:
2021-12-21 21:06:54 +00:00
- name: compile fresh stufffff
2021-12-21 20:52:45 +00:00
image: ubuntu:20.04
2021-12-21 22:24:35 +00:00
environment:
TEST1: "test1"
TEST2: "test2"
2021-12-21 20:52:45 +00:00
commands:
2021-12-21 21:06:54 +00:00
- mkdir test
2021-12-21 22:24:35 +00:00
- echo $TEST1
- echo $${TEST2}
2021-12-21 21:06:54 +00:00
- echo "geht :D" > test/test
- name: gitea_release
image: plugins/gitea-release
settings:
base_url: https://gitea.makerlab-murnau.de
api_key:
from_secret: gitea_token
files: test/*
when:
event: tag
2021-12-21 21:21:26 +00:00
- name: send a nice message
image: containrrr/shoutrrr
2021-12-21 22:18:00 +00:00
environment:
URL:
from_secret: shoutrrr_url
2021-12-21 22:16:29 +00:00
entrypoint: [/shoutrrr]
2021-12-21 22:23:05 +00:00
command: ["send", "-u", "$URL", "-m", "The pipline just finished :)"]