Skip to content

Commit 018b247

Browse files
authored
Merge pull request graphnet-team#844 from RasmusOrsoe/fix_docker5
debug "push"
2 parents dc18c34 + b09bf67 commit 018b247

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,15 @@ on:
77
# 2) When a GitHub Release is published
88
release:
99
types: [published]
10-
11-
# 3) When pull requests are merged into the default branch (e.g. main)
12-
pull_request:
13-
types: [closed]
14-
branches:
15-
- main # change if your default branch is different
16-
# - stable # add more target branches if needed
10+
# 3) When push is completed to main (i.e. PRs are merged)
11+
push:
12+
branches: [ main ]
1713

1814
jobs:
1915
build:
2016
# run if:
2117
# - not a PR event (i.e., release or manual), OR
2218
# - it *is* a PR event and the PR was merged
23-
if: github.event_name != 'pull_request' || github.event.pull_request.merged == true
2419
name: Docker Image - ${{ matrix.name }}
2520
strategy:
2621
matrix:

0 commit comments

Comments
 (0)