This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch markdown
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/markdown by this push:
new a591ce3a3 enable push
a591ce3a3 is described below
commit a591ce3a387e3dc0b3a799e91b33c2ca4b57c122
Author: David Arthur <[email protected]>
AuthorDate: Mon Oct 27 17:42:01 2025 -0500
enable push
---
.github/workflows/build-and-deploy.yml | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build-and-deploy.yml
b/.github/workflows/build-and-deploy.yml
index f36d4ac15..534e5ed0d 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/build-and-deploy.yml
@@ -69,13 +69,19 @@ jobs:
git restore .htaccess
git restore .asf.yaml
- - name: Commit
+ - name: Commit and push HTML
+ env:
+ COMMIT_MSG: |
+ Updated asf staging from GHA workflow run ${{ github.run_id }}
+
+ Commit: https://github.com/apache/kafka-site/commit/${{ github.sha }}
+ GitHub Run: https://github.com/apache/kafka-site/actions/runs/${{
github.run_id }}
run: |
- git config --global user.name "GitHub Actions"
- git config --global user.email "[email protected]"
+ git config user.name "github-actions[bot]"
+ git config user.email
"41898282+github-actions[bot]@users.noreply.github.com"
git add .
- git commit -m "Deploy site build from ${{ github.ref_name }} - ${{
github.sha }}"
- git show --stat
+ git diff --quiet && git diff --staged --quiet || git commit -m
"$COMMIT_MSG"
+ git push
- name: Create deployment summary
run: |