From 7e4f61ff12ee53ac5fe9503b332fb58e05190538 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Thu, 2 Nov 2023 04:53:19 +0100 Subject: [PATCH] Clarify `token` (fixes #63) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 562dacd..1879e4d 100644 --- a/README.md +++ b/README.md @@ -237,8 +237,9 @@ the `with` parameter. [Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) with permission to access it. - Default: GITHUB_TOKEN, which gives the action permission to deploy to the - current repository. + Default: `${{ secrets.GITHUB_TOKEN }}`, which gives the action permission to + deploy to the current repository. To customize it, use e.g. + `token: ${{ secrets.PREVIEW_TOKEN }}` not just `token: PREVIEW_TOKEN`. - **(Advanced)** `action`: Determines what this action will do when it is executed. Supported values: `deploy`, `remove`, `none`, `auto`.