Skip to content

Commit

Permalink
feat: cd.yaml s3업로드 부분 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
masiljangajji committed Sep 25, 2024
1 parent 25eb3aa commit 0687c3c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2

- name: Zip artifact for CodeDeploy
run: |
zip -r deploy.zip codedeploy appspec.yml scripts/
- name: S3 Upload zip
run: aws s3 cp --region ap-northeast-2 ./deploy.zip s3://${{ secrets.BUCKET_NAME }}/${{ env.PROJECT_NAME }}/deploy.zip

- name: CodeDeploy
run: aws deploy create-deployment --application-name $CODE_DEPLOY_APP_NAME --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name $DEPLOYMENT_GROUP_NAME --s3-location bucket=${{ secrets.BUCKET_NAME }},bundleType=zip,key=$CODE_DEPLOY_APP_NAME/deploy.zip

Expand Down

0 comments on commit 0687c3c

Please sign in to comment.