First Build
This commit is contained in:
parent
d25a7a6821
commit
610e6f6356
@ -15,19 +15,19 @@ steps:
|
|||||||
- java -jar muddle.jar
|
- java -jar muddle.jar
|
||||||
|
|
||||||
- name: deploy-build
|
- name: deploy-build
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: alpine
|
||||||
when:
|
when:
|
||||||
- event: push
|
- evaluate: 'CI_PIPELINE_EVENT in ["push","tag"] && CI_COMMIT_TAG && not (CI_COMMIT_TAG == nil || CI_COMMIT_TAG == "")'
|
||||||
- branch: main
|
environment:
|
||||||
settings:
|
GITEATKN:
|
||||||
base_url: https://git.vertinext.com
|
|
||||||
files:
|
|
||||||
- "build/lotj-ui.mpackage"
|
|
||||||
- "build/lotj-ui.xml"
|
|
||||||
api_key:
|
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
target: main
|
|
||||||
depends_on: build-release
|
depends_on: build-release
|
||||||
|
commands:
|
||||||
|
- apk add wget
|
||||||
|
- wget -O teacli https://dl.gitea.com/tea/main/tea-main-linux-amd64
|
||||||
|
- chmod +x teacli
|
||||||
|
- ./teacli login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
|
||||||
|
- ./teacli releases create --asset "build/lotj-ui.mpackage" --asset "build/lotj-ui.xml" --tag ${CI_COMMIT_TAG}
|
||||||
|
|
||||||
- name: notify-on-branch-push
|
- name: notify-on-branch-push
|
||||||
image: alpine
|
image: alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user