Skip to content

Commit

Permalink
Specify secrets settings for GH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang authored Feb 5, 2021
1 parent 795ebba commit 8dc1f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ repository, the same rule applies.
| Argument | Required | Default value | Description |
|----------|----------|---------------|-------------|
| WIKI_DIR | No | wiki/ | Directory to rsync files to the wiki.(https://github.com/settings/tokens/new?scopes=repo). |
| GH_TOKEN | Yes | | The GitHub Token for this action to use. Specify `${{ secrets.GITHUB_TOKEN }}` for public repositories. If you're commiting to a different repository or a private repository, create a [GitHub PAT](https://github.com/settings/tokens/new?scopes=repo&description=wiki%20page%20creator%20token) and save it as `GH_TOKEN`. Then, specify in your action `${{ secrets.GH_TOKEN }}`. |
| GH_TOKEN | Yes | | The GitHub Token for this action to use. Specify `${{ secrets.GITHUB_TOKEN }}` for public repositories. If you're commiting to a different repository or a private repository, create a [GitHub PAT](https://github.com/settings/tokens/new?scopes=repo&description=wiki%20page%20creator%20token) and save it in GitHub secrets as `GH_TOKEN`. Then, specify in your action `${{ secrets.GH_TOKEN }}`. |
| GH_MAIL | Yes | | The email associated with the token. |
| GH_NAME | Yes | | The username associated with the token. |
| EXCLUDED_FILES | No | | The files or directories you want to exclude. Note, we use rsync |
Expand Down

0 comments on commit 8dc1f34

Please sign in to comment.