Skip to content

docs: correct the adapter file map, the MGB routing note and the ble … #288

docs: correct the adapter file map, the MGB routing note and the ble …

docs: correct the adapter file map, the MGB routing note and the ble … #288

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main, dev]
paths:
- 'docs/**'
- 'CHANGELOG.md'
- 'package.json'
- '.github/workflows/docs.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build docs
run: npx vitepress build docs
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy docs/.vitepress/dist --project-name ble-scale-sync --branch ${{ github.ref_name }} --commit-dirty=true --no-bundle