Fix command to EB to use the artifact.zip file during deployment instead of the source code in the directory. (#2174)

This commit is contained in:
maniarathi
2021-04-23 11:07:57 -07:00
committed by GitHub
parent b60d20eb2f
commit ebeb1c8818

View File

@@ -54,6 +54,6 @@ build: clean
(cd artifact.dir; \
cp -r backend/czi_hosted/common/web/static static; \
zip -r ../artifact.zip . --exclude backend/czi_hosted/test/\* backend/czi_hosted/eb/\* ; ); \
if ! [ -f .elasticbeanstalk/config.yml ] ; then \
if ! grep artifact.zip .elasticbeanstalk/config.yml ; then \
mkdir -p .elasticbeanstalk ; cat config_deploy.yaml >> .elasticbeanstalk/config.yml ; fi