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: