test/.drone.yml

31 lines
596 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
commands:
2021-12-21 21:06:54 +00:00
- mkdir test
- 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
environment:
URL:
from_secret: shoutrrr_url
2021-12-21 21:27:24 +00:00
entrypoint:
- "/shoutrrr"
2021-12-21 21:21:26 +00:00
commands:
2021-12-21 21:26:37 +00:00
- send --url "$${PASSWORD}" --message "The pipline just finished :)"