Skip to content

Commit

Permalink
fix: Elastic Beanstalk 설정 파일 수정 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunmin0317 committed Dec 24, 2024
1 parent 15bc619 commit 65b7f65
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +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: zip -r smunity.zip ./build/libs/${{env.artifact}} .ebextensions
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 @@ -48,7 +49,7 @@ 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: ./smunity.zip
deployment_package: deploy/smunity.zip
wait_for_deployment: false

0 comments on commit 65b7f65

Please sign in to comment.