Skip to content

Commit

Permalink
fix cd invalidation paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider authored and mxcl committed Apr 30, 2023
1 parent cb104df commit ba3be69
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit ba3be69

Please sign in to comment.