Skip to content

Commit 737015f

Browse files
authored
Merge pull request #53 from laradock/develop
feat(Github CI): prevent fork repo run deploy step
2 parents 0473b4b + 02be000 commit 737015f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
docker image ls
2828
2929
- name: Push image to Docker hub
30-
if: ${{ success() && (github.ref == 'refs/heads/master') }}
30+
if: ${{ success() && (github.repository == 'laradock/php-fpm') && (github.ref == 'refs/heads/master') }}
3131
env:
3232
PHP_VERSION: ${{ matrix.php_version }}
3333
run: |

0 commit comments

Comments
 (0)