First Build

This commit is contained in:
Charles Click 2024-03-30 03:32:41 -04:00
parent d25a7a6821
commit 610e6f6356
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0

View File

@ -15,19 +15,19 @@ steps:
- java -jar muddle.jar
- name: deploy-build
image: woodpeckerci/plugin-gitea-release
image: alpine
when:
- event: push
- branch: main
settings:
base_url: https://git.vertinext.com
files:
- "build/lotj-ui.mpackage"
- "build/lotj-ui.xml"
api_key:
- evaluate: 'CI_PIPELINE_EVENT in ["push","tag"] && CI_COMMIT_TAG && not (CI_COMMIT_TAG == nil || CI_COMMIT_TAG == "")'
environment:
GITEATKN:
from_secret: GITEA_TOKEN
target: main
depends_on: build-release
commands:
- apk add wget
- wget -O teacli https://dl.gitea.com/tea/main/tea-main-linux-amd64
- chmod +x teacli
- ./teacli login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
- ./teacli releases create --asset "build/lotj-ui.mpackage" --asset "build/lotj-ui.xml" --tag ${CI_COMMIT_TAG}
- name: notify-on-branch-push
image: alpine