Skip to content

Commit

Permalink
Fix create version docs action (#4130)
Browse files Browse the repository at this point in the history
* define version instead of upgrading

* add sleep

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
2 people authored and dawoodkhan82 committed Jun 2, 2023
1 parent adbd546 commit 1c4a8b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-version-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c4a8b6

Please sign in to comment.