parent
bcbf1c79c1
commit
52cb4e23bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user