docs: update for v3

This commit is contained in:
peaceiris 2020-02-05 17:04:27 +09:00
parent 5fe4aa3f24
commit ccf71d1162
1 changed files with 4 additions and 6 deletions

View File

@ -324,13 +324,11 @@ When we create a commit with a message `docs: Update some post`, a deployment co
```yaml
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
uses: peaceiris/actions-gh-pages@v3
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