mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
Update README.md
This commit is contained in:
parent
2e09f809f8
commit
aa8658fb62
@ -529,11 +529,13 @@ Generate your deploy key with the following command.
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-pages -N ""
|
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-pages -N ""
|
||||||
# You will get 2 files:
|
|
||||||
# gh-pages.pub (public key)
|
|
||||||
# gh-pages (private key)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You will get 2 files:
|
||||||
|
|
||||||
|
- `gh-pages.pub` is a public key
|
||||||
|
- `gh-pages` is a private key
|
||||||
|
|
||||||
Next, Go to **Repository Settings**
|
Next, Go to **Repository Settings**
|
||||||
|
|
||||||
- Go to **Deploy Keys** and add your public key with the **Allow write access**
|
- Go to **Deploy Keys** and add your public key with the **Allow write access**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user