Skip to content

ci: fetch history for docs workflows #3

ci: fetch history for docs workflows

ci: fetch history for docs workflows #3

Workflow file for this run

name: Deploy `main` docs
on:
push:
branches:
- main
jobs:
deploy-docs:
name: Deploy docs
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@v4
- name: Build
run: npm ci && npm run build
working-directory: docs
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy docs/.vitepress/dist --project-name=blink-cmp-main