Skip to content

feat: 分享提醒弹窗 #26

feat: 分享提醒弹窗

feat: 分享提醒弹窗 #26

Workflow file for this run

name: deploy
on:
push:
branches: ['main']
paths-ignore:
- 'README.md'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
- run: pnpm -v
- run: pnpm install
- run: pnpm exec tsx ./scripts/updateVersion.ts
- run: pnpm run build:mirror
- name: Publish package
run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
pnpm publish --no-git-checks
- run: git checkout .
- run: curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/inspect/sync'
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: gkd-inspect
directory: dist