Skip to content

Commit

Permalink
[HOTFIX] Development Server CD - Appspec Resource 누락 점검
Browse files Browse the repository at this point in the history
  • Loading branch information
yummygyudon committed Dec 5, 2024
1 parent 50fc13f commit fcb65a3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,20 @@ jobs:
run: |
mkdir ./script
aws s3 cp --region $REGION \
s3://$S3_BUCKET/dev/script/deploy.sh script/deploy.sh
s3://$S3_BUCKET/dev/script/deploy.sh ./script/deploy.sh
aws s3 cp --region $REGION \
s3://$S3_BUCKET/dev/script/switch.sh script/switch.sh
s3://$S3_BUCKET/dev/script/switch.sh ./script/switch.sh
aws s3 cp --region $REGION \
s3://$S3_BUCKET/dev/script/valid.sh script/valid.sh
s3://$S3_BUCKET/dev/script/valid.sh ./script/valid.sh
aws s3 cp --region $REGION \
s3://$S3_BUCKET/dev/$S3_ENV_FILE_NAME application.env
s3://$S3_BUCKET/dev/$S3_ENV_FILE_NAME ./application.env
- name: 📁 Make files to zip
run: zip -r ./$GITHUB_SHA.zip ./script ./pem ./key ./appspec.yml ./application.env
run: |
pwd
ls -l
zip -r ./$GITHUB_SHA.zip ./script ./pem ./key ./appspec.yml ./application.env
shell: bash

- name: 🚀 Upload Property Zip to S3 and Create Code Deploy
Expand Down

0 comments on commit fcb65a3

Please sign in to comment.