Note about GitHub PAT perm

This commit is contained in:
CrazyMax 2020-02-02 03:16:24 +01:00
parent 8a3ecf1861
commit 4349866bb5
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -81,7 +81,7 @@ Following environment variables can be used as `step.env` keys
## Limitation ## Limitation
Currently, `GITHUB_TOKEN` [does not suffice to trigger a page build](https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m-p/26869) on a **public repository** (propagate content to the GitHub content-delivery network). You must therefore create a custom [Personal Access Token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) and use it through the `GITHUB_PAT` environment variable: Currently, `GITHUB_TOKEN` [does not suffice to trigger a page build](https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m-p/26869) on a **public repository** (propagate content to the GitHub content-delivery network). You must therefore create a custom [Personal Access Token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) with `repo` permissions and use it through the `GITHUB_PAT` environment variable:
```yaml ```yaml
- name: Deploy - name: Deploy