mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
docs build
This commit is contained in:
parent
3bb03ce85b
commit
ca4d557c4f
@ -4,6 +4,33 @@ orbs:
|
||||
python: circleci/python@1.2
|
||||
|
||||
jobs:
|
||||
build-py-docs:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install dependencies
|
||||
# TODO: eventually this will be cleaned up so we aren't building
|
||||
# new dependencies each time unnecessarily.
|
||||
# This will be introduced once we setup branch and path filtering
|
||||
command: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install python3 python3-pip
|
||||
sudo pip3 install awscli --upgrade
|
||||
sudo pip3 install mkdocs mkdocs-material mkautodoc mkdocstrings
|
||||
- run:
|
||||
name: Make Documentation
|
||||
command: |
|
||||
cd gpt4all-bindings/python/
|
||||
mkdocs build
|
||||
- run:
|
||||
name: Deploy Documentation
|
||||
command: |
|
||||
aws s3 cp ./site s3://docs.gpt4all.io/ --recursive | cat
|
||||
|
||||
|
||||
|
||||
build-py-linux:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
@ -132,13 +159,20 @@ jobs:
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build-py-deploy:
|
||||
deploy-docs:
|
||||
jobs:
|
||||
- build-py-linux
|
||||
- build-py-macos
|
||||
- build-py-windows
|
||||
- store-and-upload-wheels:
|
||||
requires:
|
||||
- build-py-windows
|
||||
- build-py-linux
|
||||
- build-py-macos
|
||||
- build-py-docs:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- main
|
||||
#build-py-deploy:
|
||||
# jobs:
|
||||
#- build-py-linux
|
||||
#- build-py-macos
|
||||
#- build-py-windows
|
||||
#- store-and-upload-wheels:
|
||||
# requires:
|
||||
# - build-py-windows
|
||||
# - build-py-linux
|
||||
# - build-py-macos
|
||||
|
Loading…
Reference in New Issue
Block a user