mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
starting github actions for docs
This commit is contained in:
25
.github/workflow/mkdocs.yml
vendored
Normal file
25
.github/workflow/mkdocs.yml
vendored
Normal 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
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
site_name: crewAI Documentation
|
site_name: crewAI Documentation
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
|
palette:
|
||||||
|
scheme: default
|
||||||
|
primary: red
|
||||||
|
accent: red
|
||||||
@@ -16,13 +16,13 @@ python = ">=3.9,<4.0"
|
|||||||
pydantic = "^2.4.2"
|
pydantic = "^2.4.2"
|
||||||
langchain = "^0.0.354"
|
langchain = "^0.0.354"
|
||||||
openai = "^1.5.0"
|
openai = "^1.5.0"
|
||||||
mkdocs-material = "^9.5.3"
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
isort = "^5.13.2"
|
isort = "^5.13.2"
|
||||||
black = "^23.12.1"
|
black = "^23.12.1"
|
||||||
autoflake = "^2.2.1"
|
autoflake = "^2.2.1"
|
||||||
pre-commit = "^3.6.0"
|
pre-commit = "^3.6.0"
|
||||||
|
mkdocs-material = "^9.5.3"
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
profile = "black"
|
profile = "black"
|
||||||
|
|||||||
Reference in New Issue
Block a user