Merge pull request #8 from alexleclair/master

Copy app.json from www/ into $BUILD_DIR for deployment task support
This commit is contained in:
Jose Diaz-Gonzalez 2016-09-19 23:11:41 -06:00 committed by GitHub
commit 06888793b1
1 changed files with 1 additions and 0 deletions

View File

@ -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