From ca7b083aad97b7bba2ee4e80b2d93dd811c3ddf2 Mon Sep 17 00:00:00 2001 From: Alexandre Leclair Date: Wed, 24 Aug 2016 14:20:29 -0400 Subject: [PATCH] Now copying app.json from www/ into $BUILD_DIR, thus allowing pre/post deploy scripts to execute --- bin/compile | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compile b/bin/compile index 593befe..53e0979 100755 --- a/bin/compile +++ b/bin/compile @@ -30,6 +30,7 @@ if [[ ! -e "$BUILD_DIR/www" ]]; then [[ -f "$BUILD_DIR/www/nginx.conf.erb" ]] && mv $BUILD_DIR/www/nginx.conf.erb $BUILD_DIR [[ -f "$BUILD_DIR/www/mime.types" ]] && mv $BUILD_DIR/www/mime.types $BUILD_DIR [[ -f "$BUILD_DIR/www/CHECKS" ]] && mv $BUILD_DIR/www/CHECKS $BUILD_DIR + [[ -f "$BUILD_DIR/www/app.json" ]] && mv $BUILD_DIR/www/app.json $BUILD_DIR rm -rf $CACHE_DIR/www fi