Skip to content

Commit a17cfd6

Browse files
committed
chore: Update PyPI token references in README and workflow
- Changed the PyPI API token reference in README.md to `POETRY_PYPI_TOKEN_PYPI`. - Updated the environment variable in publish-pypi.yml to use the new token name for consistency in publishing workflows.
1 parent ab710a3 commit a17cfd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ jobs:
7878
- name: Build and publish to PyPI
7979
if: steps.check-release.outputs.release_found == 'true'
8080
env:
81-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
81+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
8282
run: task publish-pypi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ This repository uses GitHub Actions workflows for continuous integration, releas
305305
To enable these workflows, ensure the following secrets are set in your repository:
306306

307307
1. For PyPI publishing:
308-
- `PYPI_API_TOKEN`: A PyPI API token with upload permissions
308+
- `POETRY_PYPI_TOKEN_PYPI`: A PyPI API token with upload permissions
309309

310310
2. For Docker publishing:
311311
- GitHub Token with `packages:write` permission (automatic)

0 commit comments

Comments
 (0)