Fix: RM if exists path .elasticbeanstalk

This commit is contained in:
alexsanderp
2022-02-08 18:16:31 -03:00
parent 81ac5ea61c
commit 91a878cc1d
+1 -1
View File
@@ -95,7 +95,7 @@ jobs:
AWS_REGION: us-east-1
APP_NAME: maestro
run: |
rm -R .elasticbeanstalk/
[[ -d .elasticbeanstalk/ ]] && rm -R .elasticbeanstalk/
printf "1\nn" | eb init $APP_NAME --region $AWS_REGION
eb use $APP_NAME-$ENV
echo -e "deploy:\n artifact: deploy.zip" >> .elasticbeanstalk/config.yml