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

erose pushed a commit to branch website-pr-test
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/website-pr-test by this push:
     new 9a529075d9 Try sha again
9a529075d9 is described below

commit 9a529075d91a8037b3d6d54fb8a2763832ec8334
Author: Ethan Rose <[email protected]>
AuthorDate: Wed Oct 23 18:42:50 2024 -0400

    Try sha again
---
 .github/workflows/test-website-pr.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/test-website-pr.yml 
b/.github/workflows/test-website-pr.yml
index 5bd22f2dd0..ff5111ad5c 100644
--- a/.github/workflows/test-website-pr.yml
+++ b/.github/workflows/test-website-pr.yml
@@ -30,9 +30,6 @@ jobs:
           repository: apache/ozone-site
           ref: 'HDDS-9225-website-v2'
           path: ozone-site
-      - name: Get short commit SHA
-        id: get_short_sha
-        run: echo "SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> 
$GITHUB_ENV
       - name: Commit and push changes to apache/ozone-site
         env:
           GH_TOKEN: ${{ secrets.OZONE_WEBSITE_BUILD }}
@@ -42,8 +39,8 @@ jobs:
           git config --global user.email '[email protected]'
           echo "test content" > testfile.txt
           git add testfile.txt
-          git commit -m "[Auto] Update configurations.md page from ozone ${{ 
env.SHORT_SHA }}"
-          git push origin config-doc-update-from-${{ env.SHORT_SHA }}
+          git commit -m "[Auto] Update configurations.md page from ozone 
$GITHUB_SHA"
+          git push origin config-doc-update-from-"$GITHUB_SHA"
       - name: Create Pull Request in apache/ozone-site
         env:
           GH_TOKEN: ${{ secrets.OZONE_WEBSITE_BUILD }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to