Skip to content

Commit

Permalink
Merge pull request #182 from LearnsMate/feature/config
Browse files Browse the repository at this point in the history
ELB 하나 더 추가해서 블루그린 배포 추가
  • Loading branch information
YuJeeun authored Nov 14, 2024
2 parents d9d4d29 + 74d2879 commit 5c1b050
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
cd deploy && zip -r deploy.zip .
working-directory: LearnsMate

- name: Beanstalk Deploy
- name: Beanstalk1 Deploy
uses: einaregilsson/beanstalk-deploy@v22
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -135,4 +135,18 @@ jobs:
deployment_package: LearnsMate/deploy/deploy.zip
use_existing_version_if_available: false
wait_for_deployment: true
wait_for_environment_recovery: 300

- name: Beanstalk2 Deploy
uses: einaregilsson/beanstalk-deploy@v22
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: intbyte-env2
environment_name: Intbyte-env2
version_label: github-action-${{steps.current-time.outputs.formattedTime}}
region: ap-northeast-2
deployment_package: LearnsMate/deploy/deploy.zip
use_existing_version_if_available: false
wait_for_deployment: true
wait_for_environment_recovery: 300

0 comments on commit 5c1b050

Please sign in to comment.