From 25fe140ebb3845260d4e674910795a53287dd2f7 Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Thu, 1 Feb 2024 03:53:10 +0100 Subject: [PATCH 1/2] Create upload_pr_documentation.yml --- .github/workflows/upload_pr_documentation.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/upload_pr_documentation.yml diff --git a/.github/workflows/upload_pr_documentation.yml b/.github/workflows/upload_pr_documentation.yml new file mode 100644 index 000000000..3414c255b --- /dev/null +++ b/.github/workflows/upload_pr_documentation.yml @@ -0,0 +1,16 @@ +name: Upload PR Documentation + +on: + workflow_run: + workflows: ["Build PR Documentation"] + types: + - completed + +jobs: + build: + uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main + with: + package_name: peft + secrets: + hf_token: ${{ secrets.HUGGINGFACE_PUSH }} + comment_bot_token: ${{ secrets.GITHUB_TOKEN }} From 6aa85a595dc5665c75b282f003c0449d0ae76c1c Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Thu, 1 Feb 2024 03:57:48 +0100 Subject: [PATCH 2/2] Update .github/workflows/upload_pr_documentation.yml --- .github/workflows/upload_pr_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload_pr_documentation.yml b/.github/workflows/upload_pr_documentation.yml index 3414c255b..6497caf2d 100644 --- a/.github/workflows/upload_pr_documentation.yml +++ b/.github/workflows/upload_pr_documentation.yml @@ -10,7 +10,7 @@ jobs: build: uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main with: - package_name: peft + package_name: bitsandbytes secrets: hf_token: ${{ secrets.HUGGINGFACE_PUSH }} comment_bot_token: ${{ secrets.GITHUB_TOKEN }}