Skip to content

Commit

Permalink
chore: using trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
ischaojie committed Mar 4, 2024
1 parent b7e75ac commit 22ab486
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
permissions:
id-token: write

steps:
- uses: "actions/checkout@v3"
Expand All @@ -28,6 +30,4 @@ jobs:
hatch run mkdocs build --clean
- name: Publish
run: |
hatch publish -u "${{ secrets.USERNAME }}" -a "${{ secrets.PASSWORD }}"
hatch run mkdocs gh-deploy --force
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 22ab486

Please sign in to comment.