Skip to content

Commit

Permalink
chore: ec2 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
SSung023 committed Apr 8, 2024
1 parent 872585a commit bde48dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ jobs:
- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.zip s3://$AWS_S3_BUCKET/$GITHUB_SHA.zip

# - name: S3에 업로드
# run: aws deploy push --application-name ${{ env.AWS_CODE_DEPLOY_APPLICATION }} --ignore-hidden-files --s3-location s3://$AWS_S3_BUCKET/cicdtest/$GITHUB_SHA.zip --source .
# test

- name: EC2에 배포
run: aws deploy create-deployment --application-name ${{ env.AWS_CODE_DEPLOY_APPLICATION }} --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name ${{ env.AWS_CODE_DEPLOY_GROUP }} --s3-location bucket=$AWS_S3_BUCKET,key=$GITHUB_SHA.zip,bundleType=zip

Expand Down
1 change: 0 additions & 1 deletion appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ hooks:
- location: scripts/deploy.sh
timeout: 60


# AfterInstall:
# - location: scripts/stop.sh
# timeout: 60
Expand Down

0 comments on commit bde48dd

Please sign in to comment.