Skip to content

Commit

Permalink
Update Deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jinseohyun1228 authored Nov 7, 2024
1 parent 2190284 commit 0e42bac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
unzip awscliv2.zip
sudo ./aws/install
- name: Create a deployment package
run: |
mkdir deployment
cp -r boomerang/build/libs/* deployment/
cp appspec.yml deployment/
cd deployment
zip -r deployment-package.zip .
- name: deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 cp --recursive --region ap-northeast-2 build/libs s3://home.manual
aws s3 cp deployment/deployment-package.zip s3://home.manual

0 comments on commit 0e42bac

Please sign in to comment.