Skip to content

Commit ba3be69

Browse files
jhheidermxcl
authored andcommitted
fix cd invalidation paths
1 parent cb104df commit ba3be69

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,18 @@ jobs:
183183
- name: Invalidate CloudFront
184184
run:
185185
find . -name tea-\* |
186-
sed 's/^.//' |
186+
sed 's_^./binaries__' |
187187
xargs
188188
aws cloudfront create-invalidation
189189
--distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
190-
--paths
190+
--paths $STATIC_PATHS
191+
env:
192+
STATIC_PATHS: >-
193+
/Darwin/arm64
194+
/Darwin/x86_64
195+
/Linux/arm64
196+
/Linux/aarch64
197+
/Linux/x86_64
191198
192199
smoke-teaxyz-setup-github-action:
193200
needs: [upload-binaries]

0 commit comments

Comments
 (0)