This repository was archived by the owner on Jan 30, 2026. It is now read-only.
feat: implement signature input handling and update payload structure #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Demo | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "demo/**" | |
| - "!**.md" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v2 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| cache: "pnpm" | |
| - name: Install and Build | |
| run: | | |
| pnpm install | |
| pnpm build | |
| cd demo | |
| pnpm install | |
| pnpm build | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: ./demo/dist | |
| - name: Deploy to GitHub Pages | |
| uses: actions/deploy-pages@v4 |