Skip to content

Commit c6e25eb

Browse files
committed
build(publish-docs): Update build dir
1 parent 4587247 commit c6e25eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
7676
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7777
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
7979

8080
- name: Generate list of changed files for CloudFront to invalidate
8181
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
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)