deps:(deps): bump ruff from 0.2.1 to 0.8.1 #1090
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: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
token: ${{ secrets.PAT }} | |
- name: Install dependencies | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e ".[docs,tutorials]" | |
- name: Build and Commit | |
uses: sphinx-notes/pages@2.1 | |
with: | |
documentation_path: docs | |
sphinx_version: "5.3.0" | |
- name: Push changes | |
if: ${{ github.event_name == 'push' }} | |
uses: ad-m/github-push-action@v0.6.0 | |
with: | |
github_token: ${{ secrets.PAT }} | |
branch: gh-pages |