Skip to content

Commit f559ed8

Browse files
committed
docs: Add example image for commit_message
1 parent db3e60d commit f559ed8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ A commit is always created with the same user.
385385

386386
### ⭐️ Set custom commit message
387387

388-
Set custom commit message.
388+
Set a custom commit message.
389389
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}`.
390390

391391
```yaml
@@ -397,6 +397,8 @@ When we create a commit with a message `docs: Update some post`, a deployment co
397397
commit_message: ${{ github.event.head_commit.message }}
398398
```
399399

400+
![Set a custom commit message - GitHub Actions for GitHub Pages](./images/commit_message.jpg)
401+
400402
To set a full custom commit message without a triggered commit hash,
401403
use the `full_commit_message` option instead of the `commit_message` option.
402404

images/commit_message.jpg

39.3 KB
Loading

0 commit comments

Comments
 (0)