We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26344f commit d0b8143Copy full SHA for d0b8143
.github/workflows/pypi_publish.yml
@@ -0,0 +1,22 @@
1
+name: Publish to PyPI.org
2
+on:
3
+ workflow_dispatch:
4
+ release:
5
+ types: [published]
6
+jobs:
7
+ pypi-publish:
8
+ name: Upload release to PyPI
9
+ runs-on: ubuntu-latest
10
+ environment:
11
+ name: pypi
12
+ url: https://pypi.org/p/batch-mailchimp
13
+ permissions:
14
+ id-token: write
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v3
18
+ with:
19
+ fetch-depth: 0
20
+ - run: python3 -m pip install --upgrade build && python3 -m build
21
+ - name: Publish package distributions to PyPI
22
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments