File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ jobs:
75
75
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
76
76
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
77
77
AWS_REGION : ' us-west-1' # optional: defaults to us-east-1
78
- SOURCE_DIR : ' _build/html' # optional: defaults to entire repository
78
+ SOURCE_DIR : ' docs/ _build/html' # optional: defaults to entire repository
79
79
80
80
- name : Generate list of changed files for CloudFront to invalidate
81
81
run : |
82
- pushd _build/html; FILES=$(find . -name \* -print | grep html | cut -c2- | sort | uniq | tr '\n' ' '); popd
82
+ pushd docs/ _build/html; FILES=$(find . -name \* -print | grep html | cut -c2- | sort | uniq | tr '\n' ' '); popd
83
83
for file in $FILES; do
84
84
echo $file
85
85
# add bare directory to list of updated paths when we see index.html
You can’t perform that action at this time.
0 commit comments