diff --git a/.github/workflows/deploy_tokenlist.yml b/.github/workflows/deploy_tokenlist.yml index 67fda99..7619ccd 100644 --- a/.github/workflows/deploy_tokenlist.yml +++ b/.github/workflows/deploy_tokenlist.yml @@ -34,12 +34,12 @@ jobs: - name: "Deploy to S3: Staging" if: github.ref == 'refs/heads/main' run: | - aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/current/tokens --delete --cache-control max-age=0,no-cache,no-store,must-revalidate + aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/current --delete --cache-control max-age=0,no-cache,no-store,must-revalidate - name: "Package release version" if: success() && startsWith(github.ref, 'refs/tags/v') run: | - aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }}/tokens --delete --cache-control max-age=0,no-cache,no-store,must-revalidate + aws s3 sync src/tokens/ s3://${{ secrets.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete --cache-control max-age=0,no-cache,no-store,must-revalidate - name: "Prepare production deployment flow" if: success() && startsWith(github.ref, 'refs/tags/v')