Skip to content

Commit

Permalink
Update publish-to-pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jzsmoreno authored Dec 16, 2023
1 parent d81d8e9 commit 11c7559
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish Python distribution to PyPI

on: push
on:
push:
branches:
- 'main'

jobs:
build-and-publish-to-pypi:
Expand Down Expand Up @@ -30,4 +33,4 @@ jobs:
- name: Publish Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 11c7559

Please sign in to comment.