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

czweng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 82197e4  Fix incorrect bash script for copying old docs
82197e4 is described below

commit 82197e43d151dd03539b90960e720e5685204041
Author: tsreaper <[email protected]>
AuthorDate: Fri Mar 17 19:38:35 2023 +0800

    Fix incorrect bash script for copying old docs
---
 .github/workflows/build.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7165995..bd8122a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,7 +30,7 @@ jobs:
     steps:
       - uses: actions/checkout@v3
 
-      - name: Move out old docs directory
+      - name: Copy out old docs directory
         run: |
           git fetch origin asf-site:asf-site
           git checkout asf-site
@@ -47,10 +47,8 @@ jobs:
           git branch -D asf-site
           git checkout --orphan asf-site
 
-      - name: Move back docs directory
-        run: |
-          mkdir docs
-          cp -r /tmp/docs/* docs
+      - name: Copy back docs directory
+        run: cp -r /tmp/docs docs
 
       - name: Clone Paimon repo
         run: git clone https://github.com/apache/incubator-paimon.git 
/tmp/paimon

Reply via email to