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.
This commit is contained in:
Fabio Manganiello 2023-08-05 14:43:10 +02:00
parent 69f5bee397
commit 1a2ab13197
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 4 additions and 1 deletions

View file

@ -56,6 +56,10 @@ steps:
- mv new current
- rm -rf old
when:
event:
- tag
- name: run-tests
image: python:3.11-alpine
commands:

View file

@ -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)