mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-30 07:13:04 +07:00
18 lines
420 B
JavaScript
18 lines
420 B
JavaScript
|
// https://devcenter.heroku.com/articles/heroku-ci
|
||
|
|
||
|
module.exports = {
|
||
|
detect: function() {
|
||
|
return !!process.env.HEROKU_TEST_RUN_ID
|
||
|
},
|
||
|
|
||
|
configuration: function() {
|
||
|
console.log(' heroku CI Detected')
|
||
|
return {
|
||
|
service: 'heroku',
|
||
|
build: process.env.HEROKU_TEST_RUN_ID,
|
||
|
commit: process.env.HEROKU_TEST_RUN_COMMIT_VERSION,
|
||
|
branch: process.env.HEROKU_TEST_RUN_BRANCH,
|
||
|
}
|
||
|
},
|
||
|
}
|