Skip to content

Commit

Permalink
#3 fix: Generate deployment package 명령어 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yo0oni committed Jan 14, 2024
1 parent b8cda80 commit 0d6b293
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,15 @@ jobs:
utcOffset: "+09:00"

- name: Generate deployment package
run: |
mkdir -p deploy
cp build/libs/howAboutTrip.jar deploy/application.jar
cp Procfile deploy/Procfile
cp -r .platform deploy/.platform
cd deploy && zip -r deploy.zip .
run: zip -r deploy.zip ./backend -x '*.git*'

- name: Beanstalk Deploy
uses: einaregilsson/beanstalk-deploy@v20
- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v21
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: how-about-trip
environment_name: How-about-trip-env
version_label: github-action-${{steps.current-time.outputs.formattedTime}}
region: ap-northeast-2
deployment_package: deploy/deploy.zip
deployment_package: deploy.zip

0 comments on commit 0d6b293

Please sign in to comment.