Skip to content

Commit

Permalink
revert workflow to token-based publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykv committed May 2, 2024
1 parent e1b1a8a commit 3ec8621
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ jobs:
deploy:

runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/mongospecs
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -37,4 +33,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 3ec8621

Please sign in to comment.