From 1a2ab131974dd470cf8e33ede96d7f7d356fff61 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 5 Aug 2023 14:43:10 +0200 Subject: [PATCH] Only rebuild docs when a new version is released. Also removed the docs build status badge from README, as it is now part of the standard Drone build process. --- .drone.yml | 4 ++++ README.md | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 12c3e2b1..1d433897 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,6 +56,10 @@ steps: - mv new current - rm -rf old + when: + event: + - tag + - name: run-tests image: python:3.11-alpine commands: diff --git a/README.md b/README.md index 74cbe283..b7bd0f98 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ Platypush ========= [![Build Status](https://ci-cd.platypush.tech/api/badges/platypush/platypush/status.svg)](https://ci-cd.platypush.tech/platypush/platypush) -[![Documentation Status](https://ci.platypush.tech/docs/status.svg)](https://ci.platypush.tech/docs/latest.log) [![pip version](https://img.shields.io/pypi/v/platypush.svg?style=flat)](https://pypi.python.org/pypi/platypush/) [![License](https://img.shields.io/github/license/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/src/branch/master/LICENSE.txt) [![Last Commit](https://img.shields.io/github/last-commit/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/commits/branch/master)