Spaces:
Running
Running
Download .github/workflows/docs.yml from MilesCranmer/PySR: direct link, hf CLI and curl.
- Browser
- Download file 722 Bytes
-
https://huggingface.co/spaces/MilesCranmer/PySR/resolve/af2a12dc5d0f1b4e12e2aadc2b33dbc42a82bbc3/.github/workflows/docs.yml
- Command line
-
hf download hf://spaces/MilesCranmer/PySR@af2a12dc5d0f1b4e12e2aadc2b33dbc42a82bbc3/.github/workflows/docs.yml
-
curl -L -o docs.yml https://huggingface.co/spaces/MilesCranmer/PySR/resolve/af2a12dc5d0f1b4e12e2aadc2b33dbc42a82bbc3/.github/workflows/docs.yml
722 Bytes
| name: docs | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| paths: | |
| - 'pysr/**' | |
| - '.github/workflows/docs.yml' | |
| - 'docs/**' | |
| - 'setup.py' | |
| - 'README.md' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.9 | |
| - name: "Install packages for docs building" | |
| run: pip install mkdocs-material mkdocs-autorefs 'mkdocstrings[python]' | |
| - name: "Build API docs" | |
| run: cd docs && ./gen_docs.sh | |
| - name: "Deploy documentation" | |
| run: mkdocs gh-deploy --force |