diff --git a/README.md b/README.md index 7311146..a9191b3 100644 --- a/README.md +++ b/README.md @@ -385,7 +385,7 @@ A commit is always created with the same user. ### ⭐️ Set custom commit message -Set custom commit message. +Set a custom commit message. When we create a commit with a message `docs: Update some post`, a deployment commit will be generated with a message `docs: Update some post ${GITHUB_SHA}`. ```yaml @@ -397,6 +397,8 @@ When we create a commit with a message `docs: Update some post`, a deployment co commit_message: ${{ github.event.head_commit.message }} ``` +![Set a custom commit message - GitHub Actions for GitHub Pages](./images/commit_message.jpg) + To set a full custom commit message without a triggered commit hash, use the `full_commit_message` option instead of the `commit_message` option. diff --git a/images/commit_message.jpg b/images/commit_message.jpg new file mode 100644 index 0000000..60bfa1f Binary files /dev/null and b/images/commit_message.jpg differ