Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 646f23d

Browse files
author
Stephen Gutekanst
committed
CI: correct Docker publish conditional
Helps #20 Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
1 parent 8524f59 commit 646f23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
task install-frontend-deps
2222
task build-image
2323
- name: Publish Docker image
24-
if: success() && github.ref == 'refs/heads/main' && github.event_Name == 'push' && github.repository == 'sourcegraph/doctree'
24+
if: success() && github.ref == 'refs/heads/main' && github.repository == 'sourcegraph/doctree'
2525
run: |
2626
echo "$DOCKER_PASSWORD" | docker login -u="$DOCKER_USERNAME" --password-stdin
2727
docker tag "sourcegraph/doctree:dev" "sourcegraph/doctree:$RELEASE_COMMIT"

0 commit comments

Comments
 (0)