Fix create version docs action (#4130)

* define version instead of upgrading

* add sleep

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
Ali Abdalla 2023-05-09 23:52:13 +04:00 committed by GitHub
parent 030a49b9eb
commit 128668d88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,10 @@ jobs:
run: python -m pip install -r website/homepage/requirements.txt
- name: Pin httpx, httpcore, and h11
run: pip install h11==0.12.0 httpcore==0.15.0 httpx==0.23.0
- name: Wait 5 min
run: sleep 300
- name: Install gradio
run: python -m pip install gradio -U
run: python -m pip install gradio==$(cat gradio/version.txt)
- name: Build Docs
run: cd website/homepage && python build-version-docs.py
- name: Create Pull Request