File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 64
64
run : poetry install
65
65
66
66
- name : Build documentation
67
- run : poetry run mkdocs build
67
+ run : pushd docs; make SPHINXBUILD=' poetry run sphinx-build' build; popd
68
68
69
69
- name : Push documentation to S3
70
70
uses : jakejarvis/s3-sync-action@master
@@ -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 : ' site ' # optional: defaults to entire repository
78
+ SOURCE_DIR : ' _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 site ; FILES=$(find . -name \* -print | grep html | cut -c2- | sort | uniq | tr '\n' ' '); popd
82
+ pushd _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