From ea02d461808eea801839d09347a1bc37a69496b3 Mon Sep 17 00:00:00 2001 From: Tobias Kremer Date: Fri, 8 Nov 2024 10:25:31 +0100 Subject: [PATCH] Only trigger cd when ci is successful - Push project to pypi only if ci is succeeding --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 84d939e..fadbc02 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,6 +4,9 @@ on: push: tags: - "**" + workflow_run: + workflows: [ci] + types: [completed] jobs: pypi: