From 04f9c627723040fae2f630a160a9eadb535c12f9 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 15 Dec 2022 14:16:45 +0100 Subject: [PATCH] ci: do not publish docs on prerelease Signed-off-by: CrazyMax --- .github/workflows/docs-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml index c752f21c..5e9d7055 100644 --- a/.github/workflows/docs-release.yml +++ b/.github/workflows/docs-release.yml @@ -2,11 +2,13 @@ name: docs-release on: release: - types: [ released ] + types: + - releases jobs: open-pr: runs-on: ubuntu-latest + if: "!github.event.release.prerelease" steps: - name: Checkout docs repo