chore: workflow_dispatch

This commit is contained in:
lisonge 2024-10-20 00:50:05 +08:00
parent adb4f101fb
commit 369c06b6c8

View File

@ -1,6 +1,7 @@
name: deploy name: deploy
on: on:
workflow_dispatch:
push: push:
branches: ['main'] branches: ['main']
@ -26,7 +27,7 @@ jobs:
- run: pnpm -F @gkd-kit/api run predocs:build - run: pnpm -F @gkd-kit/api run predocs:build
- run: pnpm -F @gkd-kit/docs run docs:build-mirror - run: pnpm -F @gkd-kit/docs run docs:build-mirror
- name: Publish package - name: Publish package
run: | run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}