diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cfd4972..d22350e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -95,7 +95,8 @@ jobs: AWS_REGION: us-east-1 APP_NAME: maestro run: | - printf "n" | eb init $APP_NAME --region $AWS_REGION + [[ -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 eb deploy diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cba8cc..6095edf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,6 @@ on: pull_request: branches: - dev - - stg - - main jobs: test: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a40282..d83cca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,22 @@ ### Fix +* RM if exists path .elasticbeanstalk ([91a878c](https://github.com/dadosfera/maestro/commit/91a878cc1d069faff56dfd7ce3a712a82839fdfa)) + +# [1.0.0-dev.4](https://github.com/dadosfera/maestro/compare/v1.0.0-dev.3...v1.0.0-dev.4) (2022-02-08) + + +### Fix + +* RM if exists path .elasticbeanstalk ([91a878c](https://github.com/dadosfera/maestro/commit/91a878cc1d069faff56dfd7ce3a712a82839fdfa)) + +# [1.0.0-dev.3](https://github.com/dadosfera/maestro/compare/v1.0.0-dev.2...v1.0.0-dev.3) (2022-02-08) + + +### Fix + +* Deploy eb init ([81ac5ea](https://github.com/dadosfera/maestro/commit/81ac5ea61c07b0b51507e3baa51dd8b3fda5acad)) +======= * CI/CD test ([f87a124](https://github.com/dadosfera/maestro/commit/f87a124de3d5103eb6c07f6f9a6270c05827cb39)) * CI/CD test ([1cecdfd](https://github.com/dadosfera/maestro/commit/1cecdfd13fa56e4f1ea25dd3a3edc4fc744c91a3)) * CI/CD test ([9eae14d](https://github.com/dadosfera/maestro/commit/9eae14d7630b2f8b77c66b81ecb25023e2b1bc3d))