From 52cb4e23bcb4ed17b376eb796779668cb030f29d Mon Sep 17 00:00:00 2001 From: ccubed Date: Sat, 30 Mar 2024 04:02:03 -0400 Subject: [PATCH] test --- .woodpecker.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index eecb627..40a49f5 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -22,13 +22,15 @@ steps: environment: GITEATKN: from_secret: GITEA_TOKEN + GOTOKEN: + from_secret: GOTIFY_TOKEN depends_on: build-release commands: - apk add tea - - echo $GITEATKN - - echo ${GITEATKN} - - tea login add --name=temp --url=https://git.vertinext.com/ --token=${GITEATKN} + - 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 ${CI_COMMIT_TAG} + - wget "https://gotify.vertinext.com/message?token=$GOTOKEN" --post-data "title=${CI} - ${CI_REPO_NAME}&message=Release ${CI_COMMIT_TAG} built and deployed.&priority=0" -O /dev/null - name: notify-on-branch-push image: alpine