cicd: fix build image timing

This commit is contained in:
Bloomingg 2024-06-12 16:08:52 +08:00
parent 1638ea5361
commit 07399ab78a

View File

@ -49,7 +49,7 @@ env:
jobs:
build-dockerhub:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true }}
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.merged == false) }}
steps:
- name: Checkout main repository
uses: actions/checkout@v4