diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 1d6b5ce..3723aba 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -12,13 +12,16 @@ jobs:
     if: startsWith(github.event.ref, 'refs/tags')
 
     runs-on: ubuntu-latest
+    permissions:
+      contents: write
+      id-token: write
 
     steps:
       - uses: actions/checkout@v4
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
-          python-version: "3.10"
+          python-version: "3.12"
       - name: Install build
         run: |
           python -m pip install --upgrade pip
@@ -26,11 +29,7 @@ jobs:
       - name: Build package
         run: |
           python -m build
-      - name: Publish package to PyPI
-        uses: pypa/gh-action-pypi-publish@release/v1
-        with:
-          user: __token__
-          password: ${{ secrets.pypi_token }}
+
       - name: GitHub Release
         uses: softprops/action-gh-release@v2
         with: