Skip to content

Commit

Permalink
Secure publish pipeline (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored Jan 17, 2024
1 parent 4fe7c03 commit 5b649c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
jobs:
publish:
runs-on: ubuntu-20.04
environment:
name: pypi
url: https://pypi.org/p/cert-host-scraper
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
Expand All @@ -24,6 +29,3 @@ jobs:
poetry build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}

0 comments on commit 5b649c1

Please sign in to comment.