Skip to content

Commit 58e02a5

Browse files
committed
fix cloudfront invalidation, run sdk workflow on workflow change
1 parent c23b97c commit 58e02a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/upload_pdsdk_browser.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# TODO maybe build just in CI, gitignore dist, and create artifacts and link to those instead
22
name: upload_pdsdk_browser
3-
'on':
3+
on:
44
push:
55
branches:
66
- master
77
paths:
88
- javascript/dist/*
9+
- .github/workflows/upload_pdsdk_browser.yml
910
jobs:
1011
default:
1112
runs-on: ubuntu-latest
@@ -19,4 +20,4 @@ jobs:
1920
CLOUDFRONT_DISTRIBUTION_ID: '${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}'
2021
run: |
2122
aws s3 sync javascript/dist s3://sdk.pipedream.net/
22-
aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths /*
23+
aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths '/*'

0 commit comments

Comments
 (0)