Fighter/.woodpecker.yml
ccubed 33960f8ed9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
First Release Version. Version 1.1
2024-10-20 00:42:59 -04:00

46 lines
1.5 KiB
YAML

steps:
- name: build-Fighter
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
- 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