We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f74ec commit e66d566Copy full SHA for e66d566
.github/workflows/publish-docs.yml
@@ -115,7 +115,8 @@ jobs:
115
- name: Generate list of changed files for CloudFront to invalidate
116
if: env.PUBLISH == 'true'
117
run: |
118
- pushd docs/_build/html; FILES=$(find . -name \* -print | grep html | cut -c2- | sort | uniq | tr '\n' ' '); popd
+ FILES=$(find docs/_build/html -exec realpath --relative-to docs/_build/html {} \; | awk '{print "/"$0}' | grep "html\|searchindex.js\|custom.css\|.svg");
119
+
120
for file in $FILES; do
121
echo $file
122
# add bare directory to list of updated paths when we see index.html
0 commit comments