Skip to content

Nightly Documentation Build #1750

Nightly Documentation Build

Nightly Documentation Build #1750

Workflow file for this run

name: Nightly Documentation Build
on:
workflow_dispatch:
schedule: # UTC at 0300
- cron: '0 3 * * *'
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
MAIN_PYTHON_VERSION: '3.13'
DOCUMENTATION_CNAME: 'aedt.docs.pyansys.com'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Disable all default permissions at workflow level for security (least privilege principle)
# Individual jobs will explicitly request only the permissions they need
permissions: {}
jobs:
doc-build:
name: Documentation build
runs-on: ubuntu-latest
steps:
- name: Install quarto
uses: quarto-dev/quarto-actions/setup@8a96df13519ee81fd526f2dfca5962811136661b # v2.2.0
with:
tinytex: true
version: 1.8.25
- name: Documentation build
uses: ansys/actions/doc-build@7d55ff0b9f67c77dae50a286d711ee1ae27b0a25 # v10.2.12
with:
dependencies: "graphviz texlive-latex-extra latexmk texlive-xetex texlive-fonts-extra"
skip-install: true
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: false
sphinxopts: '-j auto --color -w build_errors.txt'
check-links: false
needs-quarto: false
optional-dependencies-name: 'all'
group-dependencies-name: 'doc'
upload-dev-doc:
name: Upload dev documentation
runs-on: ubuntu-latest
needs: doc-build
permissions:
contents: write # Required to commit and push development documentation to gh-pages branch
steps:
- name: Upload development documentation
uses: ansys/actions/doc-deploy-dev@7d55ff0b9f67c77dae50a286d711ee1ae27b0a25 # v10.2.12
with:
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
use-python-cache: false