From 218e1930265c745345e50984fc89f6ac06952ddc Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sun, 30 Apr 2023 16:26:04 -0400 Subject: [PATCH] fix cd invalidation paths --- .github/workflows/cd.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 815dcc0f2..ebe8e9ef1 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -183,11 +183,18 @@ jobs: - name: Invalidate CloudFront run: find . -name tea-\* | - sed 's/^.//' | + sed 's_^./binaries__' | xargs aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} - --paths + --paths $STATIC_PATHS + env: + STATIC_PATHS: >- + /Darwin/arm64 + /Darwin/x86_64 + /Linux/arm64 + /Linux/aarch64 + /Linux/x86_64 smoke-teaxyz-setup-github-action: needs: [upload-binaries]