Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/CI_CD.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Configure these under **Settings → Secrets and variables → Actions**:
| Secret | Used for |
|--------|----------|
| `CODECOV_TOKEN` | Codecov upload |
| `TEST_PYPI_USERNAME` | TestPyPI publish on `staging` pushes |
| `TEST_PYPI_PASSWORD` | TestPyPI publish on `staging` pushes |
| `TEST_PYPI_API_TOKEN` | TestPyPI publish on `staging` pushes |
| `PYPI_API_TOKEN` | Production PyPI publish on tag pushes |

## GitHub environments
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ jobs:

- name: Build and publish package to TestPyPI
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade pip setuptools wheel twine
python setup.py sdist bdist_wheel
Expand Down
Loading