Skip to content

Commit

Permalink
Do not publish to github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Jan 11, 2024
1 parent 2d4fca4 commit e1f1ce4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,3 @@ jobs:
registry_url: https://registry.npmjs.org
secrets:
registry_token: ${{ secrets.NPM_TOKEN }}
github:
name: GitHub Packages
uses: ./.github/workflows/_publish.yml
permissions:
contents: read
packages: write
needs: build
with:
artifact_name: ${{ needs.build.outputs.artifact_name }}
registry_url: https://npm.pkg.github.com
secrets:
registry_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ The following repository secrets must be set on [GitHub Actions]:

- `NPM_TOKEN`: npm token for installing and publishing packages.
- `GH_TOKEN`: A personal access token for the bot user with
`packages:write` and `contents:write` permission.
and `contents:write` permission.
- `GIT_USER_NAME`: The GitHub bot user's real name.
- `GIT_USER_EMAIL`: The GitHub bot user's email.
- `GPG_PRIVATE_KEY`: The GitHub bot user's [GPG private key].
Expand Down

0 comments on commit e1f1ce4

Please sign in to comment.