Skip to content

Commit

Permalink
Exclude directory /docs/v from delete when docs get synced to S3 on…
Browse files Browse the repository at this point in the history
… main (#1440)
  • Loading branch information
tanertopal authored Oct 31, 2022
1 parent ed3fef1 commit d999ca3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ doc/source/_build
flwr_logs
.cache

# Node.js
node_modules

# Flower Examples
examples/**/dataset/**
examples/**/dev/*.sh
Expand Down
2 changes: 1 addition & 1 deletion dev/deploy-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
cd doc
make docs
cd build/html
aws s3 sync --delete --exclude ".*" --acl public-read --cache-control "no-cache" ./ s3://flower.dev/docs
aws s3 sync --delete --exclude ".*" --exclude "v/*" --acl public-read --cache-control "no-cache" ./ s3://flower.dev/docs

0 comments on commit d999ca3

Please sign in to comment.