Skip to content

chap/do-not-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Do Not Build

The buildpack that prevents builds.

Helpful if you're trying to force your team to use pipeline promotions.

Heroku Usage

Add to app

heroku buildpacks:add --index 1 chap/do-not-build

Customize error message

heroku config:set DO_NOT_BUILD='This app should be deployed via pipeline promotion'

Stop builds

git push heroku

-----> chap/do-not-build app detected
!!!!!!
!!!!!! This app should be deployed via pipeline promotion
!!!!!!
 !     Push rejected, failed to compile

Remove buildpack to allow builds

heroku buildpacks:remove chap/do-not-build

About

A buildpack to prevent builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published