BadPVP/.woodpecker.yml

47 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2024-10-20 00:00:47 -04:00
steps:
- name: build-BadPVP
image: git.vertinext.com/roryejinn/alpine_muddler
when:
- path:
include: [ 'src/*' ]
event: [push, pull_request]
environment:
GITEATKN:
from_secret: GITEA_TOKEN
VERSION: 1.1
commands:
- apk add tea
- cd BadPVP
- java -jar /muddle/muddle.jar
- tea login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
- tea releases create --asset "build/BadPVP.mpackage" --asset "build/BadPVP.xml" --tag $VERSION --title "Latest Compiled Release"
- name: notify-Failure
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ failure ]
event: [push, pull_request]
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: warning
icon: https://woodpecker-ci.org/img/logo.svg
message: Failed to build Achaea Plugins
- name: notify-Success
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ success ]
event: [push, pull_request]
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: white_check_mark
icon: https://woodpecker-ci.org/img/logo.svg
message: Built new release packages for Achaea Plugins