Skip to content

Commit 9fd9ca5

Browse files
authored
Enter venv before pushing doc in main doc build workflow (#2058)
1 parent 0585939 commit 9fd9ca5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build_main_documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ jobs:
197197
198198
- name: Push to repositories
199199
run: |
200+
source venv-doc/bin/activate
200201
cd optimum/optimum-doc-build
201202
sudo chmod -R ugo+rwx optimum
202203
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

0 commit comments

Comments
 (0)