Skip to content

Merge pull request #83 from marcosfrenkel/fix_client_snapshot #43

Merge pull request #83 from marcosfrenkel/fix_client_snapshot

Merge pull request #83 from marcosfrenkel/fix_client_snapshot #43

Workflow file for this run

name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs==1.5.3 mkdocs-material==9.4.6 mkdocstrings==0.23.0 mkdocstrings-python==1.7.3 mkdocs-jupyter==0.24.6 griffe==0.36.1 griffe-fieldz mkdocs-autorefs==0.5.0
- run: |
pip install -e . # Assuming your setup.py is in the root and correctly configured
echo "PYTHONPATH=${{ github.workspace }}" >> $GITHUB_ENV
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JUPYTER_PLATFORM_DIRS: 1