Merge pull request 'Added .drone.yml' (#2) from ZeroHD/Hush:drone into master
Reviewed-on: https://git.etztech.xyz/Minecraft/Hush/pulls/2master
commit
e8395333d3
|
@ -0,0 +1,45 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: compliance
|
||||||
|
type: docker
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
pull: always
|
||||||
|
image: gradle:6.6
|
||||||
|
commands:
|
||||||
|
- gradle build
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: release
|
||||||
|
type: docker
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: gitea-release
|
||||||
|
pull: always
|
||||||
|
image: plugins/gitea-release:1
|
||||||
|
environment:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://git.etztech.xyz
|
||||||
|
files:
|
||||||
|
- "build/libs/*.jar"
|
||||||
|
|
||||||
|
- name: gitea-prune
|
||||||
|
pull: always
|
||||||
|
image: jolheiser/drone-gitea-prune:latest
|
||||||
|
settings:
|
||||||
|
base: https://git.etztech.xyz
|
||||||
|
token:
|
||||||
|
from_secret: gitea_token
|
|
@ -1,4 +1,4 @@
|
||||||
# Hush
|
# Hush [![Build Status](https://drone.etztech.xyz/api/badges/Minecraft/Hush/status.svg)](https://drone.etztech.xyz/Minecraft/Hush)
|
||||||
A plugin to monitor chat for forbidden phrases.
|
A plugin to monitor chat for forbidden phrases.
|
||||||
|
|
||||||
## Watch Lists
|
## Watch Lists
|
||||||
|
|
Loading…
Reference in New Issue