We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0bd8d commit 6f871a2Copy full SHA for 6f871a2
.github/workflows/deploy-ecs.yml
@@ -157,6 +157,17 @@ jobs:
157
id: login-ecr
158
uses: aws-actions/amazon-ecr-login@v2
159
160
+ - name: DEBUG Copy Static Assets from Docker Image and Push to S3
161
+ env:
162
+ S3_STATIC_ASSETS_BUCKET_NAME: ${{ secrets.S3_STATIC_ASSETS_BUCKET_NAME }}
163
+ ECR_REPOSITORY: ${{ inputs.ecr-repository }}
164
+ run: |
165
+ mkdir -p /tmp/s3static
166
+ chmod 777 /tmp/s3static
167
+ echo $ECR_REPOSITORY
168
+ docker run --rm -v /tmp/s3static:/tmp/s3static github-actions-cf0bd8d7c04e139afc56a4041448617f4c83ee2f-17069160720-1 cp -r ./dist/frontend/. /tmp/s3static
169
+ aws s3 sync /tmp/s3static s3://$S3_STATIC_ASSETS_BUCKET_NAME
170
+
171
- name: Set up Docker Buildx
172
uses: docker/setup-buildx-action@v3
173
0 commit comments