forked from massivebox/ecodash
Improve CI
- Upload artifacts as ZIP including templates - Add status badge to README
This commit is contained in:
parent
cfd96ab245
commit
9023806d57
|
@ -16,11 +16,19 @@ pipeline:
|
||||||
password:
|
password:
|
||||||
from_secret: auth_token
|
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:
|
gitea-publish:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
base_url: https://gitea.massivebox.net
|
base_url: https://gitea.massivebox.net
|
||||||
files: ecodash
|
files: ecodash.zip
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: auth_token
|
from_secret: auth_token
|
||||||
title: ${CI_COMMIT_TAG}
|
title: ${CI_COMMIT_TAG}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# 🌿 EcoDash
|
# 🌿 EcoDash
|
||||||
|
[![status-badge](https://woodpecker.massivebox.net/api/badges/massivebox/ecodash/status.svg)](https://woodpecker.massivebox.net/massivebox/ecodash)
|
||||||
|
|
||||||
EcoDash is a simple way to show your users how much your server consumes.
|
EcoDash is a simple way to show your users how much your server consumes.
|
||||||
It's intended as a medium of transparency, that gives your users an idea about the consumption of your machine. It's not meant to be 100% accurate.
|
It's intended as a medium of transparency, that gives your users an idea about the consumption of your machine. It's not meant to be 100% accurate.
|
||||||
|
|
Loading…
Reference in a new issue