Skip to content

Commit 11b0e6a

Browse files
committed
build(publish-docs): Only invalidate html files
1 parent dbd630c commit 11b0e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Generate list of changed files for CloudFront to invalidate
8181
run: |
82-
pushd site; FILES=$(find . -name \* -print | cut -c2- | sort | uniq | tr '\n' ' '); popd
82+
pushd site; FILES=$(find . -name \* -print | grep html | cut -c2- | sort | uniq | tr '\n' ' '); popd
8383
for file in $FILES; do
8484
echo $file
8585
# add bare directory to list of updated paths when we see index.html

0 commit comments

Comments
 (0)