1 parent e161b06 commit 400bbbcCopy full SHA for 400bbbc
3 files changed
.env.example
@@ -0,0 +1,2 @@
1
+CIRCLE_API_TOKEN=your_token_here
2
+CIRCLE_COMMUNITY_URL=https://your-community.circle.so
.github/workflows/publish.yml
@@ -0,0 +1,19 @@
+name: Publish to PyPI
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write # trusted publishing
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-python@v5
15
+ with:
16
+ python-version: "3.12"
17
+ - run: pip install build
18
+ - run: python -m build
19
+ - uses: pypa/gh-action-pypi-publish@release/v1
.gitignore
@@ -15,3 +15,4 @@ env/
.mypy_cache/
*.so
.DS_Store
+scripts/
0 commit comments