diff --git a/.woodpecker.yml b/.woodpecker.yml index c76176a..8c3f87e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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} diff --git a/README.md b/README.md index db420ae..6445f2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # 🌿 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. 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.