Skip to content

Commit

Permalink
Merge pull request #336 from crocs-muni/switch-to-pypi-trusted-publis…
Browse files Browse the repository at this point in the history
…hing

pypi: switch to trusted publishing
  • Loading branch information
adamjanovsky authored May 18, 2023
2 parents 396882d + c6e5b99 commit b7dbb87
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
name: Release on PyPi
runs-on: ubuntu-latest
if: github.repository == 'crocs-muni/sec-certs'
environment:
name: pypi
url: https://pypi.org/project/sec-certs/
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -23,9 +28,6 @@ jobs:
run: python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
docker_release:
name: Release on DockerHub
runs-on: ubuntu-latest
Expand Down

0 comments on commit b7dbb87

Please sign in to comment.