Add new blog post: 语义至关重要:如何将 OpenAPI 规范转化为 MCP 工具 #1098
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: build-and-deploy | |
| on: push | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup hugo | |
| uses: peaceiris/actions-hugo@v3 | |
| with: | |
| hugo-version: '0.145.0' | |
| extended: true | |
| - name: Build | |
| # remove --minify tag if you do not need it | |
| # docs: https://gohugo.io/hugo-pipes/minification/ | |
| run: hugo | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| personal_token: ${{ secrets.TOKEN }} | |
| external_repository: cloudnativeto/cloudnativeto.github.io | |
| publish_dir: ./public | |
| # keep_files: true | |
| publish_branch: master | |
| cname: cloudnativecn.com |