Skip to content

Commit eb5662f

Browse files
committed
Skip push when triggered by PR
1 parent 524694d commit eb5662f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-publish-docker-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
REPO_DIR: "/srv/repo"
5656
# Fix man pages that are disabled by Ubuntu 18 minimal base image
5757
# APPENDIX_FILE: "appendix"
58+
# Skip pushing for PRs:
59+
NO_PUSH: "${{ github.event_name == 'pull_request' }}"
5860

5961
# Lets us monitor disks getting full as images get bigger over time
6062
- name: "Show how much disk space is left"

0 commit comments

Comments
 (0)