feat(.agents): 添加百度和搜狗搜索工具并更新搜索约束 #2078
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: buildbook | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: '0' | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: 安装依赖 | |
| run: | | |
| npm install | |
| - name: 书籍打包 | |
| run: | | |
| npm run build | |
| - | |
| name: 部署到 GitHub Pages | |
| if: success() | |
| uses: crazy-max/ghaction-github-pages@v4 | |
| with: | |
| target_branch: gh-pages | |
| build_dir: dist | |
| jekyll: false | |
| fqdn: note.ismy.wang | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.THE_GITHUB_TOKEN }} |