Skip to content

Commit 060c8af

Browse files
committed
Fix docker-merge job-level if: secrets context is not available there
Use github.repository check instead.
1 parent 09f938c commit 060c8af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
docker-merge:
107107
name: Docker Merge
108108
runs-on: ubuntu-24.04
109-
if: ${{ github.event_name != 'pull_request' && secrets.GCLOUD_SERVICE_ACCOUNT != '' }}
109+
if: ${{ github.event_name != 'pull_request' && github.repository == 'hexpm/hexdocs' }}
110110
needs: docker
111111
permissions:
112112
contents: "read"

0 commit comments

Comments
 (0)