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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/griffin-site.git


The following commit(s) were added to refs/heads/master by this push:
     new b649a0e  failed to copy .asf.yaml
b649a0e is described below

commit b649a0ef60387699a88df262e6a4d9cd3006582d
Author: Sebb <[email protected]>
AuthorDate: Wed Nov 19 17:55:20 2025 +0000

    failed to copy .asf.yaml
---
 deploy.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy.sh b/deploy.sh
index c0a83b8..c7b8686 100644
--- a/deploy.sh
+++ b/deploy.sh
@@ -19,7 +19,6 @@ tmp_dir="temp_$last_SHA"
 jekyll build -d ~/$tmp_dir > /dev/null 2>&1
 if [ $? = 0 ]; then
   echo "Jekyll build successful"
-  cp .asf.yaml ~/$tmp_dir # Hack
 else
   echo "Jekyll build failed"
   exit 1
@@ -41,6 +40,7 @@ current_dir=${PWD}
 rm -r $current_dir/*
 git rm -r --cached * > /dev/null 2>&1
 cp -r ~/$tmp_dir/* $current_dir
+cp .asf.yaml $current_dir # Hack
 
 # Commit the changes to the SITE branch
 message="Updated $SITE site from $SOURCE ($last_SHA)"

Reply via email to