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 c2d6d4ac4 Actually use the input param
c2d6d4ac4 is described below

commit c2d6d4ac447b8899bbb0b883ef9a24a780468a02
Author: David Arthur <[email protected]>
AuthorDate: Wed Dec 17 16:13:46 2025 -0500

    Actually use the input param
---
 .github/workflows/build-and-deploy.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-and-deploy.yml 
b/.github/workflows/build-and-deploy.yml
index 93f98f461..47a9aeb74 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/build-and-deploy.yml
@@ -45,7 +45,7 @@ jobs:
         if-no-files-found: error
         retention-days: 7
 
-  deploy-to-staging:
+  deploy:
     runs-on: ubuntu-latest
     needs: build-html
     steps:
@@ -56,11 +56,11 @@ jobs:
     - name: Configure
       id: configure
       run: echo "ref=${{ inputs.deploy-to-asf-site && 'asf-site' || 
'asf-staging' }}" >> "$GITHUB_OUTPUT"
-    - name: Checkout staging
+    - name: Checkout
       uses: actions/checkout@v5
       with:
         persist-credentials: true  # Needed to commit and push later
-        ref: 'asf-staging'
+        ref: ${{ steps.configure.outputs.ref }}
     - name: Reset HTML
       run: |
         rm -rf *
@@ -78,7 +78,7 @@ jobs:
     - name: Commit and push HTML
       env:
         COMMIT_MSG: |
-          Updated asf staging from GHA workflow run ${{ github.run_id }}
+          Updated ${{ steps.configure.outputs.ref }} 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 }}

Reply via email to