Skip to content

Commit

Permalink
get url from environment for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
dougransom committed Jan 10, 2023
1 parent 97dbc9f commit e50909c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-flit-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- name: Building package with flit
run: |
flit build
- name: Publishing 📦 to Test PyPI
- name: Publishing 📦 to the package index (typically pypi or testpypi)
# Regarding building artifacts within Platform specific environment see https://github.com/pypa/gh-action-pypi-publish#non-goals
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.INDEX_API_TOKEN }}
repository_url: ${{ vars.PACKAGE_INDEX_URL}}

0 comments on commit e50909c

Please sign in to comment.