test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Charles Click 2024-03-30 04:06:40 -04:00
parent 4f6f24952c
commit 44fc8e1fcf
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0

View File

@ -18,7 +18,6 @@ steps:
image: alpine image: alpine
when: when:
- event: [push, tag] - event: [push, tag]
- evaluate: 'CI_COMMIT_TAG != ""'
environment: environment:
GITEATKN: GITEATKN:
from_secret: GITEA_TOKEN from_secret: GITEA_TOKEN
@ -29,7 +28,7 @@ steps:
- apk add tea - apk add tea
- apk add wget - apk add wget
- tea login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN - 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 ${CI_COMMIT_TAG} - tea releases create --asset "build/lotj-ui.mpackage" --asset "build/lotj-ui.xml" --tag latest
- 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 - 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 - name: notify-on-branch-push