diff --git a/.woodpecker.yaml b/.woodpecker.yaml index abdd478..5a34eb7 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -18,7 +18,6 @@ steps: image: alpine when: - event: [push, tag] - - evaluate: 'CI_COMMIT_TAG != ""' environment: GITEATKN: from_secret: GITEA_TOKEN @@ -29,7 +28,7 @@ steps: - apk add tea - 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} + - 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 - name: notify-on-branch-push