This repository was archived by the owner on Feb 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
packages/core/src/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import * as drone from './drone'
88import * as gitlab from './gitlab'
99import * as heroku from './heroku'
1010import * as jenkins from './jenkins'
11+ import * as now from './now'
1112import * as netlify from './netlify'
1213import * as semaphore from './semaphore'
1314import * as shippable from './shippable'
@@ -18,6 +19,7 @@ import * as wercker from './wercker'
1819
1920export default [
2021 netlify ,
22+ now ,
2123 circle ,
2224 heroku ,
2325 appveyor ,
Original file line number Diff line number Diff line change 1+ export function detect ( ) {
2+ return ! ! process . env . NOW_GITHUB_DEPLOYMENT
3+ }
4+
5+ export function config ( ) {
6+ return {
7+ name : 'Now' ,
8+ service : 'now' ,
9+ commit : process . env . NOW_GITHUB_COMMIT_SHA ,
10+ branch : process . env . NOW_GITHUB_COMMIT_REF ,
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments