Skip to content

Commit

Permalink
fix /home/runner/work/gamemuncheol-api/gamemuncheol-api/springboot-in…
Browse files Browse the repository at this point in the history
…tro-build.zip/appspec.yml was not found

Error: Process completed with exit code 255.
  • Loading branch information
rookedsysc committed Mar 24, 2024
1 parent a6004ee commit e5e38da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-wordflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# 압축파일 형태로 전달
- name: Make zip file
run: zip -r -qq -j ./springboot-intro-build.zip ./deploy
run: zip -r ./springboot-intro-build.zip ./deploy

- name: Deliver to AWS S3
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -68,7 +68,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: S3에 업로드
run: aws deploy push --application-name ${{ secrets.AWS_CODE_DEPLOY_APPLICATION }} --ignore-hidden-files --s3-location s3://gamemuncheol-s3/springboot-intro-build --source ./springboot-intro-build.zip
run: aws deploy push --application-name ${{ secrets.AWS_CODE_DEPLOY_APPLICATION }} --ignore-hidden-files --s3-location s3://gamemuncheol-s3/springboot-intro-build.zip --source ./springboot-intro-build.zip
- 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=cicdtest/$GITHUB_SHA.zip,bundleType=zip
run: aws deploy create-deployment --application-name ${{ secrets.AWS_CODE_DEPLOY_APPLICATION }} --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name ${{ secrets.AWS_CODE_DEPLOY_APPLICATION }} --s3-location bucket=gamemuncheol-s3,key=springboot-intro-build.zip,bundleType=zip
Expand Down

0 comments on commit e5e38da

Please sign in to comment.