config (stripped down to steps only):
steps:
- name: build
image: openjdk:8
commands:
- ./gradlew build
- rm build/libs/*-dev.jar
- name: deploy-staging
image: openjdk:8
volumes:
- name: staging
path: /staging
commands:
- mv build/libs/*.jar /staging/mods
- name: gitea_release
image: plugins/gitea-release
settings:
api_key: $DILATON_API_KEY # set in the Secrets tab, taken from the Create Access Token menu on gitea
base_url: https://dilaton.martmists.com
files: build/libs/*.jar
when:
event: tag
This config does not create a gitea step on drone.
Commands used (git):
$ git commit -m "Some commit message"
$ git tag 0.1.1
$ git push
Creating a release+tag on the repo manually also does not trigger a build.