Skip to content

Commit

Permalink
Enter venv before pushing doc in main doc build workflow (#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
regisss authored and echarlaix committed Oct 18, 2024
1 parent 5f23618 commit 01d0aa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_main_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ jobs:
- name: Push to repositories
run: |
source venv-doc/bin/activate
cd optimum/optimum-doc-build
sudo chmod -R ugo+rwx optimum
doc-builder push optimum --doc_build_repo_id "hf-doc-build/doc-build" --token "${{ secrets.HF_DOC_BUILD_PUSH }}" --commit_msg "Updated with commit ${{ github.sha }} See: https://github.com/huggingface/optimum/commit/${{ github.sha }}" --n_retries 5 --upload_version_yml
Expand Down

0 comments on commit 01d0aa7

Please sign in to comment.