From cfe4c236e863753e21a953fdde25665fdd379b35 Mon Sep 17 00:00:00 2001 From: Martin Forsgren Date: Tue, 1 Oct 2019 11:00:02 +0200 Subject: [PATCH] Copy heroku.yml if it exists --- bin/compile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/compile b/bin/compile index fe54557..a28ae8e 100755 --- a/bin/compile +++ b/bin/compile @@ -30,3 +30,8 @@ if [[ -f "${APP_DIR}/app.json" ]]; then cp "${APP_DIR}/app.json" "${BUILD_DIR}/app.json" echo "Copied ${APP_DIR}/app.json as app.json successfully" | indent fi + +if [[ -f "${APP_DIR}/heroku.yml" ]]; then + cp "${APP_DIR}/heroku.yml" "${BUILD_DIR}/heroku.yml" + echo "Copied ${APP_DIR}/heroku.yml as heroku.yml successfully" | indent +fi