ci: add github release

This commit is contained in:
2022-07-07 23:07:44 +01:00
parent 5f9037251a
commit 9c3c2e8ea4
3 changed files with 14 additions and 45 deletions

View File

@ -53,3 +53,17 @@ pipeline:
files: release/*
when:
event: tag
github-release:
image: plugins/github-release
settings:
api_key:
from_secret: github-api-key
base_url: https://github.com/api/v3/
upload_url: https://github.com/api/uploads
files: release/*
environment:
- DRONE_REPO_OWNER=jackbondpreston
- CI_REPO_OWNER=jackbondpreston
when:
event: tag