We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d59aad3 commit 2e3e684Copy full SHA for 2e3e684
.github/workflows/publish-docs.yml
@@ -105,7 +105,7 @@ jobs:
105
106
- name: Generate list of changed files for CloudFront to invalidate
107
run: |
108
- 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");
109
for file in $FILES; do
110
echo $file
111
# add bare directory to list of updated paths when we see index.html
0 commit comments