From 37729f1bb377f6a99890ed14ca7f0c37af5c4fa0 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Tue, 7 Jan 2020 00:20:56 +0900 Subject: [PATCH] docs: Use head_commit instead of commits[0] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3fb9fa..3b645ff 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,7 @@ When we create a commit with a message `docs: Update some post`, a deployment co PUBLISH_BRANCH: gh-pages PUBLISH_DIR: ./public with: - commitMessage: ${{ github.event.commits[0].message }} + commitMessage: ${{ github.event.head_commit.message }} ``` ### ⭐️ Script mode