Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Use head_commit instead of commits[0]
  • Loading branch information
peaceiris committed Jan 6, 2020
1 parent 76351d5 commit 37729f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -343,7 +343,7 @@ When we create a commit with a message `docs: Update some post`, a deployment co
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
with:
commitMessage: ${{ github.event.commits[0].message }}
commitMessage: ${{ github.event.head_commit.message }}
```

### ⭐️ Script mode
Expand Down

0 comments on commit 37729f1

Please sign in to comment.