Add mpt config
This commit is contained in:
parent
06d0735bf7
commit
a1a4ac84f6
3 changed files with 26 additions and 1 deletions
|
@ -6,5 +6,6 @@ This repository contains my drone CI config files.
|
||||||
|
|
||||||
- [Docker](docker.yaml)
|
- [Docker](docker.yaml)
|
||||||
- [Minecraft Mod](mcmod.yaml)
|
- [Minecraft Mod](mcmod.yaml)
|
||||||
|
- [Minecraft Modpack](mpt.yaml)
|
||||||
- [Zola Website](website.yaml)
|
- [Zola Website](website.yaml)
|
||||||
- [mdBook Docs](docs.yaml)
|
- [mdBook Docs](docs.yaml)
|
|
@ -15,7 +15,7 @@ steps:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
title: tag-${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
files:
|
files:
|
||||||
- build/libs/*
|
- build/libs/*
|
||||||
when:
|
when:
|
||||||
|
|
24
mpt.yaml
Normal file
24
mpt.yaml
Normal 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
|
Loading…
Reference in a new issue