diff --git a/.github/workflows/plugin.yml b/.github/workflows/plugin.yml index ffbd970..d5cd7ba 100644 --- a/.github/workflows/plugin.yml +++ b/.github/workflows/plugin.yml @@ -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: @@ -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