refactor(devlog): adding article open-webui-mcp-fetch #111
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: Publish johnnydev | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - uses: pnpm/action-setup@v2.0.1 | |
| with: | |
| version: 9.4.0 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - run: git remote set-url origin https://git:${SECRET_TOKEN}@github.com/johnny-mh/johnny-mh.github.io.git | |
| env: | |
| SECRET_TOKEN: ${{ secrets.SECRET_TOKEN }} | |
| - name: Build | |
| run: NODE_ENV=production pnpm turbo build --filter devlog | |
| - name: Publish | |
| run: pnpm gh-pages -f -t -d apps/devlog/dist -b master -u 'github-actions-bot <support+actions@github.com>' |