From c63a2e16fdd0e16cc8fe9a1ebb0916c3b9fe98ed Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Tue, 20 Jun 2023 19:03:53 +0100 Subject: [PATCH] Auto-publish to pypi --- .github/workflows/pypi_publish.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pypi_publish.yml diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml new file mode 100644 index 0000000..2b4ab48 --- /dev/null +++ b/.github/workflows/pypi_publish.yml @@ -0,0 +1,12 @@ +jobs: + pypi-publish: + name: Upload release to PyPI + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/batch-mailchimp + permissions: + id-token: write + steps: + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1