Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Sep 12, 2023
1 parent 8750a97 commit 113fda9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/modoboa-rspamd
permissions:
id-token: write
steps:
Expand Down Expand Up @@ -46,7 +43,7 @@ jobs:
if: endsWith(github.event.ref, '/master')
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 113fda9

Please sign in to comment.