Update getting_started.md #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build_docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: main | |
paths: "docs/**" | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Addon | |
uses: actions/checkout@v3 | |
with: | |
path: CAD_Sketcher | |
- name: Checkout Blender Scripts | |
uses: actions/checkout@v3 | |
with: | |
repository: blender/blender | |
path: blender-git | |
submodules: "true" | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: "pip" | |
- name: Install Dependencies | |
run: pip install -r ./CAD_Sketcher/docs/requirements.txt | |
- name: Set Pythonpath | |
run: echo "PYTHONPATH=$PYTHONPATH:$GITHUB_WORKSPACE/blender-git/blender/release/scripts/modules:$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
- name: Deploy | |
run: python3.11 -m mkdocs gh-deploy -f ./docs/mkdocs.yml --force | |
working-directory: ./CAD_Sketcher |