Skip to content

Commit

Permalink
feat: Elastic Beanstalk 설정 파일 포함 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunmin0317 committed Dec 24, 2024
1 parent 6fc3d8e commit 8bb1067
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
- name: Set artifact
run: echo "artifact=$(ls ./build/libs)" >> $GITHUB_ENV

- name: Generate deployment package
run: |
mkdir -p deploy
cp ./build/libs/${{env.artifact}} ./deploy/${{env.artifact}}
cp -r .ebextensions ./deploy/.ebextensions
zip -r ./deploy/smunity.zip ./deploy
- name: Beanstalk Deploy
uses: einaregilsson/beanstalk-deploy@v20
with:
Expand All @@ -47,4 +54,4 @@ jobs:
environment_name: smunity-env
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 8bb1067

Please sign in to comment.