Skip to content

Commit

Permalink
chore: use trusted publishing for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Aug 30, 2024
1 parent 9d01fb8 commit a6498ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Release theme to PyPI

permissions:
contents: write
id-token: write

on:
push:
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:
publish:
environment:
name: pypi-release
url: https://pypi.org/p/shibuya

name: release to pypi
needs: build
Expand All @@ -57,9 +59,6 @@ jobs:

- name: Push build artifacts to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_API_TOKEN }}

release:
name: write release note
Expand Down

0 comments on commit a6498ac

Please sign in to comment.