deps:(deps-dev): bump pyright from 1.1.305 to 1.1.329 #3
Workflow file for this run
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
# creates the documentation on pushes it to the gh-pages branch | |
name: Documentation | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: documentation | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Install dependencies | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
pip install ".[docs]" | |
- name: Build and Commit | |
uses: sphinx-notes/[email protected] | |
with: | |
documentation_path: docs | |
- name: Push changes | |
if: ${{ github.event_name == 'push' }} | |
uses: ad-m/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages |