diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7eedb8d23..2587e0fe3 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -11,7 +11,7 @@ jobs: uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main with: repo_owner: xenova - commit_sha: 7bfc590f793a6281b87e56cd8b0819fe58a12014 + commit_sha: ${{ github.sha }} package: transformers.js path_to_docs: transformers.js/docs/source pre_command: cd transformers.js && npm install && npm run docs-api diff --git a/.github/workflows/pr-documentation.yml b/.github/workflows/pr-documentation.yml index 7ff0bd1b4..5ac60b4fb 100644 --- a/.github/workflows/pr-documentation.yml +++ b/.github/workflows/pr-documentation.yml @@ -12,7 +12,7 @@ jobs: uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main with: repo_owner: xenova - commit_sha: 7bfc590f793a6281b87e56cd8b0819fe58a12014 + commit_sha: ${{ github.sha }} pr_number: ${{ github.event.number }} package: transformers.js path_to_docs: transformers.js/docs/source