mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-06 03:21:36 +00:00
docs: Use head_commit instead of commits[0]
This commit is contained in:
1 parent
76351d52b8
commit
37729f1bb3
1 file changed
+1
-1
@@ -343,7 +343,7 @@ When we create a commit with a message `docs: Update some post`, a deployment co
|
|||||||
PUBLISH_BRANCH: gh-pages
|
PUBLISH_BRANCH: gh-pages
|
||||||
PUBLISH_DIR: ./public
|
PUBLISH_DIR: ./public
|
||||||
with:
|
with:
|
||||||
commitMessage: ${{ github.event.commits[0].message }}
|
commitMessage: ${{ github.event.head_commit.message }}
|
||||||
```
|
```
|
||||||
|
|
||||||
### ⭐️ Script mode
|
### ⭐️ Script mode
|
||||||
|
|||||||
Reference in new issue
Block a user