mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
ci: use aws s3 sync
to upload docs (#2172)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
b743c588e8
commit
6c8a44f6c4
@ -370,13 +370,13 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Make Documentation
|
name: Make Documentation
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/python/
|
cd gpt4all-bindings/python
|
||||||
mkdocs build
|
mkdocs build
|
||||||
- run:
|
- run:
|
||||||
name: Deploy Documentation
|
name: Deploy Documentation
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/python/
|
cd gpt4all-bindings/python
|
||||||
aws s3 cp ./site s3://docs.gpt4all.io/ --recursive | cat
|
aws s3 sync --delete site/ s3://docs.gpt4all.io/
|
||||||
- run:
|
- run:
|
||||||
name: Invalidate docs.gpt4all.io cloudfront
|
name: Invalidate docs.gpt4all.io cloudfront
|
||||||
command: aws cloudfront create-invalidation --distribution-id E1STQOW63QL2OH --paths "/*"
|
command: aws cloudfront create-invalidation --distribution-id E1STQOW63QL2OH --paths "/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user