diff --git a/.github/workflows/release-dsh-plugin.yml b/.github/workflows/release-dsh-plugin.yml index 69ae0bd..c7dacdb 100644 --- a/.github/workflows/release-dsh-plugin.yml +++ b/.github/workflows/release-dsh-plugin.yml @@ -66,8 +66,8 @@ jobs: publish: needs: [resolve, guard] runs-on: ubuntu-latest - # Secret NPM_TOKEN is stored on the GitHub Environment also named NPM_TOKEN. - environment: NPM_TOKEN + # Secret NPM_TOKEN is stored on the "npm-publish" GitHub Environment. + environment: npm-publish permissions: contents: read steps: diff --git a/packages/dsh-plugin-browserskill/README.md b/packages/dsh-plugin-browserskill/README.md index d892631..d90596c 100644 --- a/packages/dsh-plugin-browserskill/README.md +++ b/packages/dsh-plugin-browserskill/README.md @@ -187,8 +187,8 @@ git tag dsh-plugin-v0.1.0 git push origin dsh-plugin-v0.1.0 ``` -Or run the workflow from the Actions tab (`workflow_dispatch`). The job reads -`NPM_TOKEN` from the GitHub Environment of the same name. +Or run the workflow from the Actions tab (`workflow_dispatch`). The job reads the +`NPM_TOKEN` secret from the `npm-publish` GitHub Environment. ## License