Skip to content

Commit

Permalink
update github action (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull authored Dec 9, 2024
1 parent f50f0d7 commit 38cd4ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
- "python/**"
- "Changelog.md"
- "README.md"
types:
- closed
release:
types: [prereleased]

Expand All @@ -28,7 +30,7 @@ env:

jobs:
build_docker:
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
if: github.event.pull_request.merged == true || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 38cd4ad

Please sign in to comment.