Fighter/.woodpecker.yml

46 lines
1.5 KiB
YAML
Raw Normal View History

2024-10-19 06:00:52 -04:00
steps:
- name: build-Fighter
image: git.vertinext.com/roryejinn/alpine_muddler
when:
- path:
2024-10-20 00:42:59 -04:00
include: [ 'src/*' ]
2024-10-19 06:00:52 -04:00
event: [push, pull_request]
environment:
GITEATKN:
from_secret: GITEA_TOKEN
2024-10-20 00:42:59 -04:00
VERSION: 1.1
2024-10-19 06:00:52 -04:00
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