This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 154e43ca72 add fetch
154e43ca72 is described below

commit 154e43ca7271b0d4734eb26de1a155204b54dec4
Author: tqchen <[email protected]>
AuthorDate: Mon Sep 1 20:22:20 2025 -0400

    add fetch
---
 .github/workflows/publish_tvm_ffi_docs.yml | 4 ++--
 .github/workflows/update_asf_site.yml      | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/publish_tvm_ffi_docs.yml 
b/.github/workflows/publish_tvm_ffi_docs.yml
index 3a240c7269..b73df2b516 100644
--- a/.github/workflows/publish_tvm_ffi_docs.yml
+++ b/.github/workflows/publish_tvm_ffi_docs.yml
@@ -40,13 +40,13 @@ jobs:
         working-directory: tvm-site
         run: |
           git status
+          git fetch
           git checkout -B asf-site
-          git pull --rebase origin asf-site
           git ls-tree HEAD ffi/ --name-only | grep -vP '^ffi/v\\d' | xargs rm 
-rf
           cp -r ../tvm/ffi/docs/_build/html ffi
-          git add .
           git config user.name tvm-bot
           git config user.email [email protected]
+          git add ffi
           git commit -m"deploying ffi docs"
           git status
           for i in {1..3}; do
diff --git a/.github/workflows/update_asf_site.yml 
b/.github/workflows/update_asf_site.yml
index 4b76dfd144..7af3bcf6b1 100644
--- a/.github/workflows/update_asf_site.yml
+++ b/.github/workflows/update_asf_site.yml
@@ -1,8 +1,6 @@
 name: Build Jekyll Site
 
 on:
-  push:
-    branches: [main]
   workflow_dispatch:
 
 jobs:

Reply via email to