geoip-geosite-with-ru-block.../.drone.yml
Neur0toxine c4656f5d37
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
restore .drone.yml
2023-11-14 00:11:30 +03:00

42 lines
708 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: generate
image: golang:1.19-alpine
commands:
- apk add --no-cache curl grep libidn sipcalc gawk git patch bash python3
- bash generate.sh
when:
event:
- push
- name: create release tag
image: alpine:latest
environment:
GITEA_API_KEY:
from_secret: gitea_api_key
commands:
- apk add --no-cache curl
- sh tag.sh
when:
branch:
- master
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://gitea.neur0tx.site
files: .temp/result/*
checksum:
- sha256
when:
event:
- tag
trigger:
event:
- push
- tag