Add mpt config

This commit is contained in:
Timo Ley 2022-03-23 23:39:25 +01:00
parent 06d0735bf7
commit a1a4ac84f6
3 changed files with 26 additions and 1 deletions

View file

@ -6,5 +6,6 @@ This repository contains my drone CI config files.
- [Docker](docker.yaml)
- [Minecraft Mod](mcmod.yaml)
- [Minecraft Modpack](mpt.yaml)
- [Zola Website](website.yaml)
- [mdBook Docs](docs.yaml)

View file

@ -15,7 +15,7 @@ steps:
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: tag-${DRONE_TAG}
title: ${DRONE_TAG}
files:
- build/libs/*
when:

24
mpt.yaml Normal file
View file

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: release
steps:
- name: build
image: adoptopenjdk/openjdk8
commands:
- chmod +x mpt
- ./mpt buildtwitch
- name: publish
image: plugins/gitea-release
settings:
base_url: https://git.tilera.org
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: ${DRONE_TAG}
files:
- build/*
when:
event: tag
depends_on:
- build