transmission-blocklist/.drone.yml

27 lines
549 B
YAML
Raw Permalink 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
2021-12-29 15:30:28 +01:00
- apt-get install -y wget curl jq
2021-12-29 15:26:55 +01:00
- ./blocklist-build.sh
2021-12-29 15:32:33 +01:00
- mkdir upload
2021-12-29 15:26:55 +01:00
- 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