Skip to content

chore: Swap flue kimi-k2.7 agents to deepseek-v4-flash-0731 (#33207) #4

chore: Swap flue kimi-k2.7 agents to deepseek-v4-flash-0731 (#33207)

chore: Swap flue kimi-k2.7 agents to deepseek-v4-flash-0731 (#33207) #4

Workflow file for this run

name: Flue Deploy
on:
push:
branches:
- production
paths:
- ".flue/**"
- ".github/workflows/flue-deploy.yml"
workflow_dispatch:
concurrency:
group: flue-deploy-production
cancel-in-progress: false
jobs:
deploy:
if: github.repository == 'cloudflare/cloudflare-docs' && (github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/production')
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
with:
version: 11
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: 24.x
cache: pnpm
cache-dependency-path: .flue/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: .flue
- name: Deploy
run: pnpm run flue:deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Notify Google Chat on failure
if: failure()
env:
WEBHOOK_URL: ${{ secrets.CED_TEAM_ALERTS_CHANNEL_WEBHOOK }}
ACTOR: ${{ github.actor }}
REPO: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
run: |
MESSAGE="❌ *Flue Deploy* workflow failed.\nActor: $ACTOR\n<https://github.com/$REPO/actions/runs/$RUN_ID|View run>"
JSON_PAYLOAD=$(jq -n --arg text "$MESSAGE" '{text: $text}')
curl --fail --max-time 30 --silent --show-error -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d "$JSON_PAYLOAD"