diff --git a/src/clj/commiteth/github/core.clj b/src/clj/commiteth/github/core.clj index 25a792d..dba4215 100644 --- a/src/clj/commiteth/github/core.clj +++ b/src/clj/commiteth/github/core.clj @@ -366,7 +366,7 @@ nil)] (log/info (str "Updating " owner "/" repo "/" issue-number " comment #" comment-id " with contents: " comment)) - (if (= state :deploying) + (if (and (= state :deploying) (nil? comment-id)) (let [resp (issues/create-comment owner repo issue-number comment (self-auth-params)) comment-id (:id resp)] (db-issues/update-comment-id issue-id comment-id))