diff --git a/README.md b/README.md index fbad2de..4c447e3 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file diff --git a/mcmod.yaml b/mcmod.yaml index 8066ca3..9835594 100644 --- a/mcmod.yaml +++ b/mcmod.yaml @@ -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: diff --git a/mpt.yaml b/mpt.yaml new file mode 100644 index 0000000..e5795ac --- /dev/null +++ b/mpt.yaml @@ -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 \ No newline at end of file