From d755d9add30e4a7075a7ef0850451b0e02f0c559 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Mon, 4 Oct 2021 18:19:52 -0700 Subject: [PATCH] ci: Fix the debug messages. --- .github/scripts/apidoc.sh | 2 +- .github/workflows/apidoc.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/apidoc.sh b/.github/scripts/apidoc.sh index 31795ebdf..0b5d22ade 100755 --- a/.github/scripts/apidoc.sh +++ b/.github/scripts/apidoc.sh @@ -91,7 +91,7 @@ COMMIT_MSG="Update docs for $AWESOME_VERSION via Github Actions Last commit message: $LAST_COMMIT_MSG -Commits: https://github.com/awesomeWM/awesome/compare/${GITHUB_BASE_REF}..${GITHUB_REF} +Commits: $GITHUB_COMPARE Build URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" git commit -m "[relevant] $COMMIT_MSG" diff --git a/.github/workflows/apidoc.yml b/.github/workflows/apidoc.yml index a58b7e990..50c8c94dc 100644 --- a/.github/workflows/apidoc.yml +++ b/.github/workflows/apidoc.yml @@ -151,6 +151,7 @@ jobs: env: PR_NUMBER: ${{ github.event.number }} APIDOC_TOKEN: ${{ secrets.AWESOME_ROBOT_TOKEN || github.token }} + GITHUB_COMPARE: ${{ github.event.compare }} run: .github/scripts/apidoc.sh # vim: filetype=yaml:expandtab:shiftwidth=2:tabstop=2