Skip to content

Commit 0d7163c

Browse files
chore(ci): use API token rather than username:password
1 parent 057ffd6 commit 0d7163c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Specify files that shouldn't be modified by Fern
2+
.github/workflows/ci.yml

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
- name: Publish to pypi
5656
run: |
5757
poetry config repositories.remote https://upload.pypi.org/legacy/
58-
poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
58+
poetry --no-interaction -v publish --build --repository remote
5959
env:
60-
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
61-
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
60+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)