Skip to content

Commit 7e24487

Browse files
test
1 parent 1058abd commit 7e24487

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/push.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
build-and-push:
1010
name: Build and push images
11+
if: contains($(git branch -r --contains ${{ github.ref }}), 'origin/main')
1112
strategy:
1213
matrix:
1314
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
@@ -20,7 +21,7 @@ jobs:
2021
run: |
2122
set -e
2223
echo "Check base_ref"
23-
echo "${{ github.base_ref }}"
24+
echo "${{ github.event.base_ref }}"
2425
# Ensure enough space is available for build
2526
sudo apt-get autoremove -y
2627
sudo apt-get clean -y

0 commit comments

Comments
 (0)