Skip to content

Commit 4c36d08

Browse files
Merge pull request #55 from devcontainers/samruddhikhandale/fix-push-action
bug fix - 'Push' action gets skipped
2 parents ec46559 + 0fb9c80 commit 4c36d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build-and-push:
1010
name: Build and push images
11-
if: ${{ github.ref == 'refs/heads/main' }}
11+
if: ${{ github.event.base_ref == 'refs/heads/main' }}
1212
strategy:
1313
matrix:
1414
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]

0 commit comments

Comments
 (0)