Skip to content

Commit

Permalink
Update publish_docker.yml (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 authored Mar 21, 2024
1 parent 8734845 commit c42efb0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: github.repository == 'panda-re/panda' && github.ref == 'refs/heads/dev'
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build_release_assets
runs-on: ubuntu-latest
Expand All @@ -163,8 +164,8 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: pandare
password: ${{ secrets.PYPI_API_TOKEN }}
# user: pandare
# password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: panda/debian/
verbose: true

Expand Down

0 comments on commit c42efb0

Please sign in to comment.