From 9023806d57103c61ba83c26673715e182933f092 Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Mon, 7 Nov 2022 16:23:19 +0100 Subject: [PATCH] Improve CI - Upload artifacts as ZIP including templates - Add status badge to README --- .woodpecker.yml | 10 +++++++++- README.md | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) 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.