mirror of
https://github.com/gkd-kit/docs.git
synced 2024-11-16 12:22:19 +08:00
chore: workflow_dispatch
This commit is contained in:
parent
adb4f101fb
commit
369c06b6c8
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user