Skip to content

Commit

Permalink
update publish workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Housain-maina committed Sep 4, 2024
1 parent 205db71 commit 34c3043
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Lint, Build and Publish Python 🐍 distribution 📦 to PyPI

on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types: [created]

jobs:
lint:
Expand Down Expand Up @@ -61,7 +57,6 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
username: "__token__"
password: ${{ secrets.PYPI_TOKEN }}

github-release:
Expand Down

0 comments on commit 34c3043

Please sign in to comment.