Fix timeout retrying on Redis pipeline execution (#2812) #1
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: Docs CI | |
on: | |
push: | |
branches: | |
- master | |
- '[0-9].[0-9]' | |
pull_request: | |
branches: | |
- master | |
- '[0-9].[0-9]' | |
schedule: | |
- cron: '0 1 * * *' # nightly build | |
concurrency: | |
group: ${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build-docs: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: install deps | |
run: | | |
sudo apt-get update -yqq | |
sudo apt-get install -yqq pandoc make | |
- name: run code linters | |
run: | | |
pip install -r requirements.txt -r dev_requirements.txt -r docs/requirements.txt | |
invoke build-docs | |
- name: upload docs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: redis-py-docs | |
path: | | |
docs/_build/html |