mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
docs: notes of GITHUB_TOKEN for newbies
This commit is contained in:
parent
852bfb8e83
commit
fe996f57a5
@ -24,6 +24,11 @@ The next example step will deploy `./public` directory to the remote `gh-pages`
|
|||||||
publish_dir: ./public
|
publish_dir: ./public
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For newbies of GitHub Actions:
|
||||||
|
Note that the `GITHUB_TOKEN` is **NOT** a personal access token.
|
||||||
|
A GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to authenticate in your workflow.
|
||||||
|
So, you can start to deploy immediately without any configuration.
|
||||||
|
|
||||||
### Supported Tokens
|
### Supported Tokens
|
||||||
|
|
||||||
Three tokens are supported.
|
Three tokens are supported.
|
||||||
@ -159,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
**This option is for `GITHUB_TOKEN`, not a personal access token.**
|
**This option is for `GITHUB_TOKEN`, not a personal access token.**
|
||||||
|
|
||||||
GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
|
A GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user