Use an environment to push to pypi (#54)
By using an environment to push to pypi, we disallow people who don't have approval rights from using it, allow us to be more flexible with the CI
This commit is contained in:
@@ -7,6 +7,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: push_to_pypi
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user