From 2c7fb2fd8ce71cce43a97a99351b77dcc2f8ef4f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 11 Mar 2023 07:53:58 -0700 Subject: [PATCH] ci: fix capturing commit hash --- .github/workflows/pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index dc38c9ff..f18192b0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -77,7 +77,7 @@ jobs: git config --global user.email "${EMAIL}" git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -am "Automated doc formatting fix" - echo "hash=$(git rev-parse HEAD)" + echo "hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT git push - name: Create commit comment if: steps.git-check.outputs.modified == 'true'