Skip to content

Commit

Permalink
update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaromagnoli committed Nov 7, 2024
1 parent 94d6be4 commit 0de3f0b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ on:
workflows: ["Run CI"]
types:
- completed
push:
branches:
- dev

jobs:
release:
if: github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/dev'
if: github.event.workflow_run.conclusion == 'success' && github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
ref: dev

- name: Set up Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit 0de3f0b

Please sign in to comment.