Skip to content

Commit

Permalink
Use the API Key in 1Password
Browse files Browse the repository at this point in the history
  • Loading branch information
mjs2600 committed Sep 24, 2024
1 parent 3df5177 commit 20c9093
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,13 @@ jobs:
path: dist
pattern: package-*
merge-multiple: true
- name: Load PyPI Token
uses: 1password/load-secrets-action@v2
with:
# Export loaded secrets as environment variables
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PYPI_API_KEY: op://data-science-oss/perception-pypi-api-key/secret/value
- name: Publish package
run: poetry publish -n

0 comments on commit 20c9093

Please sign in to comment.