Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
developer0hye authored Feb 8, 2025
1 parent a6ef4c4 commit 61311d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: Publish to PyPI
on:
workflow_run:
workflows: ["CI"] # 'ci.yaml' 워크플로 이름
branches:
- main
types:
- completed

jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }} # CI 성공 시에만 실행
if: ${{ github.event.workflow_run.conclusion == 'success' }} # CI 성공 시에만 실행
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 61311d2

Please sign in to comment.