Thanks to visit codestin.com
Credit goes to github.com

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

Commit 4ff5223

Browse files
cryptiklemurgregberge
authored andcommitted
fix: updating now detect (#4)
Not all now deploys use the github integration.
1 parent fc843cf commit 4ff5223

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/services

1 file changed

+1
-1
lines changed

packages/core/src/services/now.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function detect() {
2-
return !!process.env.NOW_GITHUB_DEPLOYMENT
2+
return !!process.env.NOW_GITHUB_COMMIT_SHA && !!process.env.NOW_GITHUB_COMMIT_REF
33
}
44

55
export function config() {

0 commit comments

Comments
 (0)