Skip to content

Commit

Permalink
Switch from TestPyPI to PyPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCBrammer committed Oct 26, 2020
1 parent 7a5836e commit 5bfc545
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: publish
on:
push:
branches:
- dev
#release:
#types: [published]

release:
types: [published]

jobs:

Expand Down Expand Up @@ -174,13 +170,13 @@ jobs:
path: dist # download to "dist" folder

- name: Publish
env:
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}
run: |
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}
# run: |
# twine upload dist/*
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*

0 comments on commit 5bfc545

Please sign in to comment.