From 70535a247764d05f1aaac6ee090e8c1d60da1cba Mon Sep 17 00:00:00 2001 From: Sai Saran Vaidyanathan Date: Wed, 6 Nov 2024 12:33:04 -0800 Subject: [PATCH] fix: sha in doc gen (#582) --- .github/workflows/gen-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gen-docs.yml b/.github/workflows/gen-docs.yml index 51ca8ac2..100b9213 100644 --- a/.github/workflows/gen-docs.yml +++ b/.github/workflows/gen-docs.yml @@ -44,10 +44,10 @@ jobs: /tmp/go-licenses save ./cmd/apigeecli --save_path=third-party --force || echo "Ignore warnings" git add third-party third-party-licenses.txt - git commit -m "generate licenses - $GITHUB_SHA" || echo "No Changes in license" + git commit -m "generate licenses - $SHORT_SHA" || echo "No Changes in license" go run docs/docs.go git add --all - git commit -m "Update GH Pages - $GITHUB_SHA" || echo "No Changes in docs" - git push origin docs_$GITHUB_SHA + git commit -m "Update GH Pages - $SHORT_SHA" || echo "No Changes in docs" + git push origin docs_$SHORT_SHA