ah_sce_unpacked/.drone.yml
Adam Goldsmith 814dd87273
All checks were successful
continuous-integration/drone/tag Build is passing
Add drone config to automatically build releases
2021-09-20 21:38:12 -04:00

24 lines
632 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: python
commands:
- pip install git+https://git.adamgoldsmith.name/adam/tts_yaml_unpacker
- tts_yaml_unpacker pack unpacked.yaml "Arkham SCE Adam_${DRONE_TAG}.json"
- python -m zipfile -c "Arkham SCE Adam_${DRONE_TAG}.zip" "Arkham SCE Adam_${DRONE_TAG}.json"
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: Gitea_API_Key
base_url: https://git.adamgoldsmith.name
files: "Arkham SCE Adam_${DRONE_TAG}.zip"
title: "Patched ${DRONE_TAG}"
trigger:
event:
- tag