Skip to content

Commit

Permalink
Remove TestPYPI from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
blancadesal committed Dec 19, 2021
1 parent 7eca1f9 commit cee886c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
branches:
- main
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -28,11 +27,6 @@ jobs:
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit cee886c

Please # to comment.