[pre-commit.ci] pre-commit autoupdate #293
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: Documentation | |
on: [push, pull_request] | |
jobs: | |
Build: | |
# Use the "reusable workflow" from the hyperspy organisation | |
uses: hyperspy/.github/.github/workflows/doc.yml@main | |
with: | |
doc_build_path: './doc/build/html/' | |
pip_extra_doc: 'all,doc' | |
use_xvfb: true | |
check_links: false | |
SPHINXOPTS: "" | |
Push: | |
needs: Build | |
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'hyperspy' }} | |
permissions: | |
# needs write permission to push the docs to gh-pages | |
contents: write | |
# Use the "reusable workflow" from the hyperspy organisation | |
uses: hyperspy/.github/.github/workflows/push_doc.yml@main |