test/.drone.yml

30 lines
No EOL
589 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: compile fresh stufffff
image: ubuntu:20.04
commands:
- 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
- name: send a nice message
image: containrrr/shoutrrr
environment:
URL:
from_secret: shoutrrr_url
entrypoint: /shoutrrr
commands:
- send --url "$${PASSWORD}" --message "The pipline just finished :)"