Skip to content

Commit

Permalink
fix: update pypi publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ziafazal authored Aug 21, 2024
1 parent d879628 commit 2211c23
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:

push:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/h5p-xblock
permissions:
id-token: write
strategy:
matrix:
python-version: ['3.8', '3.12']
Expand All @@ -29,6 +34,3 @@ jobs:

- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}

0 comments on commit 2211c23

Please sign in to comment.