Skip to content

Commit

Permalink
fix: cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
HwanGonJang committed Feb 21, 2024
1 parent b400103 commit 6c40d01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .ebextensions/01_set_timezone.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
commands:
set_time_zone:
command: ln -f -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
13 changes: 7 additions & 6 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,15 @@ jobs:
cp .platform/nginx/conf.d/proxy.conf deploy/.platform/nginx/conf.d/proxy.conf
cd deploy && zip -r deploy.zip .
- name: Beanstalk Deploy
uses: einaregilsson/beanstalk-deploy@v14
- name: Deploy
id: deploy
uses: einaregilsson/beanstalk-deploy@v20
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: [Elastic Beanstalk app 이름] 여기 입력
environment_name: [Elastic Beanstalk Env 이름] 여기 입력
version_label: earth-docker-${{steps.current-time.outputs.formattedTime}}
region: ap-northeast-2
application_name: daitssu-crawler-develop
environment_name: daitssu-crawler-develop
version_label: earth-docker-${{steps.current-time.outputs.formattedTime}}
deployment_package: deploy/deploy.zip
wait_for_environment_recovery: 200
wait_for_environment_recovery: 300

0 comments on commit 6c40d01

Please sign in to comment.