mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-01-11 13:54:29 +00:00
docs: remove v2 example
This commit is contained in:
parent
1a26eaca33
commit
a1375a4637
17
README.md
17
README.md
@ -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 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user