Skip to content

Commit

Permalink
Updated deploy-pypi for trusted source (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSchoweGreenbone authored May 15, 2024
1 parent 9538586 commit 408d04b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@ on:

jobs:
deploy:
uses: greenbone/workflows/.github/workflows/deploy-pypi.yml@main
secrets: inherit
permissions:
id-token: write
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/autohooks-plugin-flake8/
steps:
- name: Build and publish to PyPI
uses: greenbone/actions/pypi-upload@v3

0 comments on commit 408d04b

Please sign in to comment.