Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔨 chore: update device gateway ci (#12645)

Arvin Xuc2a49342f027
diff --git a/.github/workflows/deploy-device-gateway.yml b/.github/workflows/deploy-device-gateway.yml
index 33853463d1d..61f074f5130 100644
--- a/.github/workflows/deploy-device-gateway.yml
+++ b/.github/workflows/deploy-device-gateway.yml
@@ -33,7 +33,8 @@ jobs:
run: cd apps/device-gateway && npx tsc --noEmit
- name: Deploy
- run: cd apps/device-gateway && npx wrangler deploy
+ run: cd apps/device-gateway && npx wrangler deploy --route "$DEVICE_GATEWAY_DOMAIN"
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
+ DEVICE_GATEWAY_DOMAIN: ${{ secrets.DEVICE_GATEWAY_DOMAIN }}