Skip to content

Commit

Permalink
fix: deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
HwanGonJang committed Feb 21, 2024
1 parent deca483 commit 29a5a9f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,21 @@ jobs:
format: YYYYMMDD_HH-mm-ss
utcOffset: "+09:00"

- name: Generate deployment package
run: |
mkdir -p deploy
cp Dockerrun.aws.json deploy/Dockerrun.aws.json
cd deploy && zip -r deploy.zip .
- name: Deploy
id: deploy
uses: einaregilsson/beanstalk-deploy@v20
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: ap-northeast-2
application_name: daitssu-crawl
environment_name: daitssu-crawl-develop
application_name: daitssu-crawler
environment_name: daitssu-crawler-develop
version_label: earth-docker-${{steps.current-time.outputs.formattedTime}}
deployment_package: docker-compose.yaml
deployment_package: deploy/deploy.zip
wait_for_environment_recovery: 300

0 comments on commit 29a5a9f

Please sign in to comment.