Skip to content

Commit

Permalink
sys: Syntax error in upload unix code
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Apr 1, 2024
1 parent 681a75a commit dda0b3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
python -m build mkdocs
- name: Upload
run: |
if ${{steps.version.outputs.target}} = "testpypi" ; then
if [ ${{steps.version.outputs.target}} = "testpypi" ]
then
twine upload mkdocs/dist/* --repository testpypi -u __token__ -p ${{ secrets.TESTPYPI_API_TOKEN }}
else
twine upload mkdocs/dist/* --repository pypi -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}
twine upload mkdocs/dist/* --repository pypi -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit dda0b3d

Please sign in to comment.