transmission-blocklist/.drone.yml

26 lines
525 B
YAML
Raw Normal View History

2021-12-29 15:26:55 +01:00
---
kind: pipeline
type: docker
name: default
steps:
2021-12-29 15:29:57 +01:00
- name: Make blocklist
2021-12-29 15:26:55 +01:00
image: ubuntu:latest
commands:
2021-12-29 15:29:57 +01:00
- apt-get update
- apt-get install wget curl jq
2021-12-29 15:26:55 +01:00
- ./blocklist-build.sh
- cp -v blocklist.gz upload/
environment:
LICENSE_KEY:
from_secret: LICENSE_KEY
- name: Release databases
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: "upload/*"
when:
event: tag