diff --git a/.github/workflows/cdn_deploy.yml b/.github/workflows/cdn_deploy.yml index cad338a..9959fa9 100644 --- a/.github/workflows/cdn_deploy.yml +++ b/.github/workflows/cdn_deploy.yml @@ -74,6 +74,6 @@ jobs: # latest for main branch, else tag name S3_PATH: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }} run: | - # Push to S3 - aws s3 sync ${{ github.workspace }}/dist/index.js \ - s3://${{ vars.S3_BUCKET_NAME }}/ui/${{ env.S3_PATH }}/core.js + # Push core.js to S3 + aws s3 cp ${{ github.workspace }}/dist/index.js \ + s3://${{ vars.S3_BUCKET_NAME }}/${{ env.S3_PATH }}/core.js