mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 14:16:00 +08:00
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 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}`.
|
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
|
```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 }}
|
commit_message: ${{ github.event.head_commit.message }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
To set a full custom commit message without a triggered commit hash,
|
To set a full custom commit message without a triggered commit hash,
|
||||||
use the `full_commit_message` option instead of the `commit_message` option.
|
use the `full_commit_message` option instead of the `commit_message` option.
|
||||||
|
|
||||||
|
BIN
images/commit_message.jpg
Normal file
BIN
images/commit_message.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Loading…
x
Reference in New Issue
Block a user