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