Skip to content

chore/release (#265) #133

chore/release (#265)

chore/release (#265) #133

Workflow file for this run

name: Deploy Docs 📚
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
container:
image: python:3.12.6
steps:
- name: Install dependencies for deploy
run: apt-get update && apt-get install -y rsync
- name: Checkout jumanji 🐍
uses: actions/checkout@v3
- name: Install python dependencies 🔧
run: pip install .[dev]
- name: Git trust site directory 🤝
run: |
git config --global --add safe.directory /__w/jumanji/jumanji
git config --global --add safe.directory /docs
git config --global --add safe.directory /docs_public
- name: Build docs 📖
run: mkdocs build --verbose --site-dir docs_public
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_public