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

jky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flagon.git


The following commit(s) were added to refs/heads/master by this push:
     new 89c73cf  site build github action debugging
89c73cf is described below

commit 89c73cfbad61b5208482f2e633b435d099b99f34
Author: Jason Young <jk...@pm.me>
AuthorDate: Thu Apr 17 11:08:20 2025 -0700

    site build github action debugging
---
 .github/workflows/site.yml | 17 +++++++----------
 site/CHANGELOG.md          |  2 +-
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml
index 808d893..2a3f7cd 100644
--- a/.github/workflows/site.yml
+++ b/.github/workflows/site.yml
@@ -55,20 +55,17 @@ jobs:
         ./build.sh
       working-directory: site
 
-    - name: Remove non-site files
-      run: |
-        cp -r site/_site /tmp/
-        rm -rf *
-        cp -r /tmp/_site/* .
-
     - name: Commit and push to asf-site branch
       run: |
         git config user.name "GitHub Actions Bot"
-        git config user.email "<>"
-        git stash
+        git config user.email "act...@github.com"
+        cp -r site/_site /tmp/
+        git clean -fdx
         git checkout asf-site
+        rm -rf *
+        mv /tmp/_site ./content
         git add .
-        git commit -m "Automatic Site Publish by Buildbot"
-        git push
+        git commit -m "Automatic Site Publish by Buildbot" || echo "No changes 
to commit"
+        git push origin asf-site
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/site/CHANGELOG.md b/site/CHANGELOG.md
index c590087..78a3980 100644
--- a/site/CHANGELOG.md
+++ b/site/CHANGELOG.md
@@ -1,6 +1,6 @@
 CHANGELOG
 ---------
- 
+
 ### 1.0.2 (2025-04-03)
 - Updated site build process.
 

Reply via email to