Improve CI
- Upload artifacts as ZIP including templates - Add status badge to README
This commit is contained in:
parent
cfd96ab245
commit
9023806d57
2 changed files with 10 additions and 1 deletions
|
@ -16,11 +16,19 @@ pipeline:
|
|||
password:
|
||||
from_secret: auth_token
|
||||
|
||||
prepare-gitea-release:
|
||||
image: alpine
|
||||
commands:
|
||||
- apk update; apk add zip
|
||||
- zip -r ecodash.zip templates ecodash
|
||||
when:
|
||||
event: tag
|
||||
|
||||
gitea-publish:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://gitea.massivebox.net
|
||||
files: ecodash
|
||||
files: ecodash.zip
|
||||
api_key:
|
||||
from_secret: auth_token
|
||||
title: ${CI_COMMIT_TAG}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue