Skip to content

Commit

Permalink
feat: Switch to using GH as Trusted Publisher for PyPi release
Browse files Browse the repository at this point in the history
  • Loading branch information
joolean committed Feb 29, 2024
1 parent 8d4c040 commit c66fe6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
release:
name: Release
needs: [checkmigrations, lint, test]
permissions:
id-token: write
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
Expand All @@ -89,4 +91,4 @@ jobs:
- name: Build
run: poetry build
- name: Deploy
run: poetry publish
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c66fe6c

Please sign in to comment.