From 2d8d341fedc4537d8bfc0b4042bf243c686b1839 Mon Sep 17 00:00:00 2001 From: Yuchan Lee Date: Fri, 24 Nov 2023 03:51:23 +0000 Subject: [PATCH] ci: Update `publish.yaml` --- .github/workflows/publish.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 91e5f7b..7bc3977 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,8 @@ -name: Publish Package to GitHub Packages +name: Publish to GitHub Packages on: release: types: [published] + workflow_dispatch: permissions: read-all @@ -36,5 +37,5 @@ jobs: - name: Publish to NPM env: - NODE_AUTH_TOKEN: ${{ github.token }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: pnpm publish