Skip to content

Commit c9f084f

Browse files
committed
chore: update workflow for token
1 parent 5b1ef64 commit c9f084f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pypi_publish.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
uses: snok/install-poetry@v1
2121
- name: Build and publish
2222
env:
23-
POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
24-
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
23+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
24+
working-directory: client/
2525
run: |
26+
poetry config pypi-token.pypi $PYPI_API_TOKEN
2627
poetry build
2728
poetry publish

0 commit comments

Comments
 (0)