From 16f3fc98e7c04c1f087d2d5156e3f2c9a4032c9c Mon Sep 17 00:00:00 2001 From: itskalvik Date: Sat, 17 Aug 2024 13:37:09 -0400 Subject: [PATCH] Convert actions to trigger on release --- .github/workflows/mkdocs-action.yml | 7 ++++--- .github/workflows/pypi-action.yml | 7 +++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mkdocs-action.yml b/.github/workflows/mkdocs-action.yml index eb7193c..46c0b1b 100644 --- a/.github/workflows/mkdocs-action.yml +++ b/.github/workflows/mkdocs-action.yml @@ -1,8 +1,9 @@ name: Update mkdocs website + on: - push: - branches: - - main + release: + types: [released] + permissions: contents: write jobs: diff --git a/.github/workflows/pypi-action.yml b/.github/workflows/pypi-action.yml index a189783..ec6867b 100644 --- a/.github/workflows/pypi-action.yml +++ b/.github/workflows/pypi-action.yml @@ -1,9 +1,8 @@ -name: Publish Python Package +name: Publish python package on: - push: - branches: - - main + release: + types: [released] jobs: build: