Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Add example image for commit_message
  • Loading branch information
peaceiris committed May 4, 2020
1 parent db3e60d commit f559ed8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -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
Expand All @@ -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.

Expand Down
Binary file added images/commit_message.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f559ed8

Please sign in to comment.