27 lines
549 B
YAML
27 lines
549 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Make blocklist
|
|
image: ubuntu:latest
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y wget curl jq
|
|
- ./blocklist-build.sh
|
|
- mkdir upload
|
|
- 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
|