First Build
This commit is contained in:
parent
d25a7a6821
commit
610e6f6356
@ -15,19 +15,19 @@ steps:
|
||||
- java -jar muddle.jar
|
||||
|
||||
- name: deploy-build
|
||||
image: woodpeckerci/plugin-gitea-release
|
||||
image: alpine
|
||||
when:
|
||||
- event: push
|
||||
- branch: main
|
||||
settings:
|
||||
base_url: https://git.vertinext.com
|
||||
files:
|
||||
- "build/lotj-ui.mpackage"
|
||||
- "build/lotj-ui.xml"
|
||||
api_key:
|
||||
- evaluate: 'CI_PIPELINE_EVENT in ["push","tag"] && CI_COMMIT_TAG && not (CI_COMMIT_TAG == nil || CI_COMMIT_TAG == "")'
|
||||
environment:
|
||||
GITEATKN:
|
||||
from_secret: GITEA_TOKEN
|
||||
target: main
|
||||
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
|
||||
image: alpine
|
||||
|
Loading…
Reference in New Issue
Block a user