docs: remove v2 example

This commit is contained in:
Shohei Ueda 2020-02-05 18:38:36 +09:00 committed by GitHub
parent 1a26eaca33
commit a1375a4637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,23 +33,6 @@ The next example step will deploy `./public` directory to the remote `gh-pages`
publish_dir: ./public publish_dir: ./public
``` ```
<details>
<summary>👉 Old v2 YAML here</summary>
```yaml
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
```
</details>
Three tokens are supported. Three tokens are supported.
| Token | Private repo | Public repo | Protocol | Setup | | Token | Private repo | Public repo | Protocol | Setup |