starting github actions for docs

This commit is contained in:
João Moura
2024-01-10 00:40:56 -03:00
parent 402137711c
commit bb080c47f6
3 changed files with 31 additions and 2 deletions

25
.github/workflow/mkdocs.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Deploy MkDocs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build and deploy MkDocs
run: mkdocs gh-deploy --force

View File

@@ -1,3 +1,7 @@
site_name: crewAI Documentation
theme:
name: material
name: material
palette:
scheme: default
primary: red
accent: red

View File

@@ -16,13 +16,13 @@ python = ">=3.9,<4.0"
pydantic = "^2.4.2"
langchain = "^0.0.354"
openai = "^1.5.0"
mkdocs-material = "^9.5.3"
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
black = "^23.12.1"
autoflake = "^2.2.1"
pre-commit = "^3.6.0"
mkdocs-material = "^9.5.3"
[tool.isort]
profile = "black"