diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 3503210b2..7c2535896 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -99,11 +99,12 @@ jobs: - name: Upload Artifacts to AWS S3 run: | - aws s3 cp ./dist/ s3://${{ secrets.AWS_S3_BUCKET }} \ + aws s3 cp /tmp/dist/ s3://${{ secrets.AWS_S3_BUCKET }} \ --recursive \ --exclude "*" \ - --include "*.gz" \ - --include "*.txt" \ + --exclude "*/" \ + --include "*/\*.gz" \ + --include "*/\*.txt" - name: Set Artifacts Retention if: ${{ !startsWith(github.ref, 'refs/tags/v') }}