Skip to content

Commit

Permalink
feature: ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Aug 29, 2024
1 parent f755b35 commit d0c7b1d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ jobs:
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY .
docker push $ECR_REGISTRY/$ECR_REPOSITORY
- name: Zip deployment files
run: |
zip -r ${{ env.ZIP_FILE_NAME }} ./aws/
- name: Upload AppSpec and scripts to S3
run: |
aws s3 cp ${{ env.ZIP_FILE_NAME }} s3://${{ secrets.S3_BUCKET }}/${{ env.ZIP_FILE_NAME }}
deploy:
needs: build
name: Trigger CD (CodeDeploy)
Expand All @@ -77,14 +85,6 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Zip deployment files
run: |
zip -r ${{ env.ZIP_FILE_NAME }} appspec.yml start_process.sh kill_process.sh
- name: Upload AppSpec and scripts to S3
run: |
aws s3 cp ${{ env.ZIP_FILE_NAME }} s3://${{ secrets.S3_BUCKET }}/${{ env.ZIP_FILE_NAME }}
- name: Trigger CodeDeploy
run: |
aws deploy create-deployment \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d0c7b1d

Please sign in to comment.