Compare commits

...

10 Commits
main ... latest

Author SHA1 Message Date
5605760629
test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-03-30 04:08:25 -04:00
44fc8e1fcf
test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 04:06:40 -04:00
4f6f24952c
Has to be an easier way
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 04:04:28 -04:00
52cb4e23bc
test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 04:02:03 -04:00
bcbf1c79c1
test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 03:58:36 -04:00
4d7e9553ea
test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 03:54:39 -04:00
b2db3e7f12
test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-03-30 03:47:12 -04:00
354e4e0907
Yet again
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-03-30 03:44:54 -04:00
610e6f6356
First Build 2024-03-30 03:32:41 -04:00
d25a7a6821
Setup Woodpecker CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Setup Woodpecker CI
2024-03-30 03:11:25 -04:00

44
.woodpecker.yaml Normal file
View File

@ -0,0 +1,44 @@
steps:
- name: build-release
image: alpine
secrets: [GITEA_TOKEN]
when:
- event: push
- branch: main
commands:
- apk add openjdk21
- apk add wget
- apk add tar
- wget https://github.com/demonnic/muddler/releases/download/0.13/muddle-shadow-0.13.tar
- tar -xvf muddle-shadow-0.13.tar
- mv muddle-shadow-0.13/lib/muddle-0.13-all.jar muddle.jar
- java -jar muddle.jar
- name: deploy-build
image: alpine
when:
- event: [push, tag]
environment:
GITEATKN:
from_secret: GITEA_TOKEN
GOTOKEN:
from_secret: GOTIFY_TOKEN
depends_on: build-release
commands:
- apk add tea
- apk add wget
- tea login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
- tea releases create --asset "build/lotj-ui.mpackage" --asset "build/lotj-ui.xml" --tag latest --title "Latest Compiled Release"
- wget "https://gotify.vertinext.com/message?token=$GOTOKEN" --post-data "title=${CI} - ${CI_REPO_NAME}&message=New release ${CI_COMMIT_TAG} built and deployed.&priority=0" -O /dev/null
- name: notify-on-branch-push
image: alpine
when:
- event: push
- status: [success, failure]
environment:
GOTOKEN:
from_secret: GOTIFY_TOKEN
commands:
- apk add wget
- wget "https://gotify.vertinext.com/message?token=$GOTOKEN" --post-data "title=${CI} - ${CI_REPO_NAME}&message=New pipeline running.&priority=0" -O /dev/null