Skip to content

build(deps): update jsonargparse requirement from >=4.38.0 to >=4.49.0 in /requirements #929

build(deps): update jsonargparse requirement from >=4.38.0 to >=4.49.0 in /requirements

build(deps): update jsonargparse requirement from >=4.38.0 to >=4.49.0 in /requirements #929

Workflow file for this run

name: "Deploy Docs"
on:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
shell: bash
jobs:
# https://github.com/marketplace/actions/deploy-to-github-pages
build-docs-deploy:
runs-on: ubuntu-latest
env:
TORCH_URL: "https://download.pytorch.org/whl/cpu/torch_stable.html"
UV_TORCH_BACKEND: cpu
# Supply-chain guard: skip PyPI releases newer than this. See https://docs.astral.sh/uv/reference/settings/#exclude-newer
UV_EXCLUDE_NEWER: "2 days"
steps:
- name: Checkout 🛎️
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
# If you're using actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
submodules: recursive
- name: Set up uv and Python 🐍
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
activate-environment: true
python-version: "3.10"
enable-cache: true
#- name: Install texlive
# timeout-minutes: 20
# run: |
# # install Texlive, see https://linuxconfig.org/how-to-install-latex-on-ubuntu-20-04-focal-fossa-linux
# sudo apt-get update --fix-missing
# sudo apt-get install -y texlive-latex-extra dvipng texlive-pictures
# shell: bash
- name: Install dependencies
timeout-minutes: 20
run: |
uv --version
uv pip install -e . -U -q -r requirements/_docs.txt -f ${TORCH_URL}
uv pip list
shell: bash
- name: Make Documentation
working-directory: ./docs
run: make html --jobs 2
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs/build/html # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
target-folder: docs # If you'd like to push the contents of the deployment folder into a specific directory
single-commit: true # you'd prefer to have a single commit on the deployment branch instead of full history
- name: Minimize uv cache
run: uv cache prune --ci