This repository was archived by the owner on Feb 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
packages/webpack-plugin/src/services Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import * as drone from './drone'
8
8
import * as gitlab from './gitlab'
9
9
import * as heroku from './heroku'
10
10
import * as jenkins from './jenkins'
11
+ import * as netlify from './netlify'
11
12
import * as semaphore from './semaphore'
12
13
import * as shippable from './shippable'
13
14
import * as snap from './snap'
@@ -16,15 +17,16 @@ import * as travis from './travis'
16
17
import * as wercker from './wercker'
17
18
18
19
export default [
20
+ netlify ,
21
+ circle ,
22
+ heroku ,
19
23
appveyor ,
20
24
azurePipelines ,
21
25
buildkite ,
22
- circle ,
23
26
cirrus ,
24
27
codeship ,
25
28
drone ,
26
29
gitlab ,
27
- heroku ,
28
30
jenkins ,
29
31
semaphore ,
30
32
shippable ,
Original file line number Diff line number Diff line change
1
+ export function detect ( ) {
2
+ return ! ! process . env . NETLIFY
3
+ }
4
+
5
+ export function config ( ) {
6
+ return {
7
+ name : 'Netlify' ,
8
+ service : 'netlify' ,
9
+ commit : process . env . COMMIT_REF ,
10
+ branch : process . env . BRANCH ,
11
+ build_url : process . env . DEPLOY_URL ,
12
+ root : process . env . WORKSPACE ,
13
+ pr : process . env . REVIEW_ID ,
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments