Fighter/.woodpecker.yml

46 lines
1.5 KiB
YAML

steps:
- name: build-Fighter
image: git.vertinext.com/roryejinn/alpine_muddler
when:
- path:
include: [ 'Fighter/*' ]
event: [push, pull_request]
environment:
GITEATKN:
from_secret: GITEA_TOKEN
VERSION: 1.0.5
commands:
- apk add tea
- java -jar /muddle/muddle.jar
- tea login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
- tea releases create --asset "build/Fighter.mpackage" --asset "build/Fighter.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 Fighter 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 Fighter Plugins