From 2442bff6e04f92cf5f5185554ecc567d38745d0b Mon Sep 17 00:00:00 2001 From: kalabro Date: Mon, 26 Mar 2018 23:30:12 +0300 Subject: [PATCH] [#155189315] Enhanced deploy script to remove previous builds (fixes disk space errors). --- frontend-gifts/.platform.app.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend-gifts/.platform.app.yaml b/frontend-gifts/.platform.app.yaml index 95d6f77..95eb6c8 100644 --- a/frontend-gifts/.platform.app.yaml +++ b/frontend-gifts/.platform.app.yaml @@ -28,6 +28,7 @@ hooks: # Copy built files into writable folder to write into index.html on per-environment basis. # This should be refactored once server-side rendering is enabled. set -e + rm -rf build/* cp -r build-platform/* build/ node build_scripts/platform-deploy.js node build_scripts/build-snippets.js