Skip to content

Commit

Permalink
try pull_request_comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Nov 4, 2024
1 parent ac48eb9 commit 42def4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Python CD
on:
release:
types: [ published ]
issue_comment:
pull_request_comment:

jobs:
publish-pypi-package:
Expand All @@ -25,7 +25,7 @@ jobs:
shell: bash

publish-dev-package:
if: github.event.issue.pull_request != null && github.event_name == 'issue_comment' && contains(github.event.comment.body, 'deploy please')
if: github.event.issue.pull_request != null && github.event_name == 'pull_request_comment' && contains(github.event.comment.body, 'deploy please')
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 42def4d

Please sign in to comment.