diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 0b3933cba9..265c79086d 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -25,7 +25,6 @@ jobs: COMMIT_SHA: ${{ github.event.pull_request.head.sha }} PR_NUMBER: ${{ github.event.number }} EVENT_CONTEXT: ${{ toJSON(github.event) }} - PR_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }} steps: - uses: actions/setup-node@v4 @@ -42,6 +41,7 @@ jobs: with: repository: "huggingface/optimum" path: optimum + ref: main - name: Setup environment run: | @@ -72,4 +72,4 @@ jobs: - uses: actions/upload-artifact@v4 with: name: doc-build-artifact - path: optimum-doc-build/ + path: optimum-doc-build/ \ No newline at end of file