Skip to content

Commit

Permalink
[FEATURE] Elastic Beanstalk Timezone 변경 (#129)
Browse files Browse the repository at this point in the history
* feat: Elastic Beanstalk Timezone 설정 (#126)

* test: Elastic Beanstalk Timezone 설정 테스트 (#126)

* feat: Elastic Beanstalk Timezone 설정 (#126)

* feat: Elastic Beanstalk 설정 파일 포함 (#126)

* fix: wait_for_deployment 설정 추가 (#126)

* fix: Elastic Beanstalk 설정 파일 적용 (#126)

* fix: Elastic Beanstalk 설정 파일 수정 (#126)

* feat: Elastic Beanstalk Timezone 변경 완료 (#126)
  • Loading branch information
hyunmin0317 authored Dec 24, 2024
1 parent 338bf7f commit 268ed2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .ebextensions/00-set-timezone.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
commands:
set-timezone:
command: ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ jobs:
format: YYYY-MM-DDTHH-mm-ss
utcOffset: "+09:00"

- name: Set artifact
run: echo "artifact=$(ls ./build/libs)" >> $GITHUB_ENV
- name: Generate deployment package
run: |
mkdir -p deploy
cp build/libs/*.jar deploy/application.jar
cp -r .ebextensions deploy/.ebextensions
cd deploy && zip -r smunity.zip .
- name: Beanstalk Deploy
uses: einaregilsson/beanstalk-deploy@v20
Expand All @@ -45,6 +49,6 @@ jobs:
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: smunity
environment_name: smunity-env
version_label: github-action-${{steps.current-time.outputs.formattedTime}}
version_label: github-action-${{ steps.current-time.outputs.formattedTime }}
region: ap-northeast-2
deployment_package: ./build/libs/${{env.artifact}}
deployment_package: deploy/smunity.zip

0 comments on commit 268ed2b

Please sign in to comment.