Skip to content

Commit

Permalink
Use pypi token deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
licht1stein committed May 8, 2024
1 parent 4869a8f commit cbc1ce4
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
TEST_DOC_ID: ${{ secrets.TEST_DOC_ID }}
run: |
nox
deploy:
runs-on: ubuntu-latest

Expand All @@ -48,12 +48,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1

- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python-version: 3.7
- name: Install poetry
run: pip install poetry
- name: Upload to pypi.org
run: |
poetry publish --build -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASSWORD }}
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit cbc1ce4

Please sign in to comment.