]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Trigger doc build on specific changes (#87)
authorMishig <dmishig@gmail.com>
Fri, 18 Nov 2022 10:40:30 +0000 (11:40 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Nov 2022 10:40:30 +0000 (11:40 +0100)
* Trigger doc build on specific changes

* chore

.github/workflows/build_pr_documentation.yml
.github/workflows/delete_doc_comment.yml

index b121384f15355300998922a1ba2f4ce449b8b0e5..a7480494e1c896f7f2a327e12efa4a05ce23777e 100644 (file)
@@ -2,6 +2,9 @@ name: Build PR Documentation
 
 on:
   pull_request:
+    paths:
+      - "docs/**"
+      - "bindings/python/py_src/**"
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
index 50b04ed837b68ab83e4accb4455db4bd2e0f0665..7d315e895ca6bdacbcc9c0653bdaff6c3a582862 100644 (file)
@@ -3,6 +3,9 @@ name: Delete dev documentation
 on:
   pull_request:
     types: [ closed ]
+    paths:
+      - "docs/**"
+      - "bindings/python/py_src/**"
 
 
 jobs: