docs: Add example image for commit_message
This commit is contained in:
parent
db3e60d230
commit
f559ed8889
|
@ -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.
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Loading…
Reference in New Issue