mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 14:43:21 +08:00
docs: update for v3
This commit is contained in:
parent
5fe4aa3f24
commit
ccf71d1162
10
README.md
10
README.md
@ -324,13 +324,11 @@ When we create a commit with a message `docs: Update some post`, a deployment co
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v2
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
env:
|
|
||||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
||||||
PUBLISH_BRANCH: gh-pages
|
|
||||||
PUBLISH_DIR: ./public
|
|
||||||
with:
|
with:
|
||||||
commitMessage: ${{ github.event.head_commit.message }}
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
|
publish_dir: ./public
|
||||||
|
commit_message: ${{ github.event.head_commit.message }}
|
||||||
```
|
```
|
||||||
|
|
||||||
### ⭐️ Create Git tag
|
### ⭐️ Create Git tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user