From 6c8a44f6c4b36625beca824845a859266974b611 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Wed, 27 Mar 2024 11:03:10 -0400 Subject: [PATCH] ci: use `aws s3 sync` to upload docs (#2172) Signed-off-by: Jared Van Bortel --- .circleci/continue_config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index 2f6f6705..62928bf3 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -370,13 +370,13 @@ jobs: - run: name: Make Documentation command: | - cd gpt4all-bindings/python/ + cd gpt4all-bindings/python mkdocs build - run: name: Deploy Documentation command: | - cd gpt4all-bindings/python/ - aws s3 cp ./site s3://docs.gpt4all.io/ --recursive | cat + cd gpt4all-bindings/python + aws s3 sync --delete site/ s3://docs.gpt4all.io/ - run: name: Invalidate docs.gpt4all.io cloudfront command: aws cloudfront create-invalidation --distribution-id E1STQOW63QL2OH --paths "/*"