chore/release (#265) #133
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: 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 |