固定邮件服务商列表链接 (#3826) #2180
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 theme docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.18.0 | |
| cache: pnpm | |
| - name: Install Dependencies | |
| run: pnpm ci | |
| - name: Build API | |
| run: pnpm run api:build | |
| - name: Build Client | |
| run: pnpm run client:build | |
| - name: Build Docs | |
| run: |- | |
| pnpm run docs:build | |
| > docs/src/.vuepress/dist/.nojekyll | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: docs/src/.vuepress/dist | |
| ssh-key: ${{ secrets.SSH_TOKEN }} | |
| repository-name: walinejs/walinejs.github.io |