Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
fix: updating now detect (#4)
Browse files Browse the repository at this point in the history
Not all now deploys use the github integration.
  • Loading branch information
cryptiklemur authored and gregberge committed Oct 18, 2019
1 parent fc843cf commit 4ff5223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/services/now.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function detect() {
return !!process.env.NOW_GITHUB_DEPLOYMENT
return !!process.env.NOW_GITHUB_COMMIT_SHA && !!process.env.NOW_GITHUB_COMMIT_REF
}

export function config() {
Expand Down

0 comments on commit 4ff5223

Please sign in to comment.