From 4b19e44f69fe19e61e14c58fb2bb6eb5c7b7982c Mon Sep 17 00:00:00 2001 From: Devansh-567 Date: Mon, 11 May 2026 21:00:39 +0530 Subject: [PATCH] Fix missing vars step and correct git commit usage in asciidoc deploy workflow Signed-off-by: Devansh-567 --- .github/workflows/asciidoc-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/asciidoc-build.yml b/.github/workflows/asciidoc-build.yml index 53a311dc00..9d5f6dc0dd 100644 --- a/.github/workflows/asciidoc-build.yml +++ b/.github/workflows/asciidoc-build.yml @@ -96,6 +96,9 @@ jobs: name: api-charter path: api-charter + - name: Set short SHA + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Copy files run: | @@ -111,7 +114,7 @@ jobs: - name: Commit changes run: | git add docs/P4-16-working-spec.{html,pdf} docs/PSA.{html,pdf} docs/P4_API_WG_charter.pdf docs/P4_Arch_Charter.html - git commit -am "docs for ${{ steps.vars.outputs.sha_short }}" + git commit -m "docs for ${{ steps.vars.outputs.sha_short }}" - name: Push commit to gh-pages branch run: git push -f origin gh-pages