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'
88import * as gitlab from './gitlab'
99import * as heroku from './heroku'
1010import * as jenkins from './jenkins'
11+ import * as netlify from './netlify'
1112import * as semaphore from './semaphore'
1213import * as shippable from './shippable'
1314import * as snap from './snap'
@@ -16,15 +17,16 @@ import * as travis from './travis'
1617import * as wercker from './wercker'
1718
1819export default [
20+ netlify ,
21+ circle ,
22+ heroku ,
1923 appveyor ,
2024 azurePipelines ,
2125 buildkite ,
22- circle ,
2326 cirrus ,
2427 codeship ,
2528 drone ,
2629 gitlab ,
27- heroku ,
2830 jenkins ,
2931 semaphore ,
3032 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