Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ci): make lexical deploy manual and pass Cloudflare account (#4110)

Eric Hayes11d4e1e80e57
diff --git a/.github/workflows/deploy-lexical-service-dev-push.yml b/.github/workflows/deploy-lexical-service-dev-push.yml
deleted file mode 100644
index 7eeb45f90d..0000000000
--- a/.github/workflows/deploy-lexical-service-dev-push.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: "Deploy lexical service dev"
-on:
- workflow_dispatch:
- push:
- branches: [main]
-
-concurrency:
- group: ${{ github.workflow }}
- # We do not want to cancel a deployment if it's in progress. That could lead to a broken deployment.
- cancel-in-progress: false
-
-jobs:
- deploy_lexical_service:
- uses: ./.github/workflows/deploy-lexical-service.yml
- with:
- environment: dev
- secrets:
- CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
diff --git a/.github/workflows/deploy-lexical-service.yml b/.github/workflows/deploy-lexical-service.yml
index 3300053f3d..325611ac41 100644
--- a/.github/workflows/deploy-lexical-service.yml
+++ b/.github/workflows/deploy-lexical-service.yml
@@ -9,15 +9,6 @@ on:
- dev
- prod
description: The environment to deploy to
- workflow_call:
- inputs:
- environment:
- required: true
- type: string
- description: The environment to deploy to. e.g. (dev, prod)
- secrets:
- CLOUDFLARE_API_TOKEN:
- required: true
concurrency:
group: ${{ github.workflow }}-lexical-service-${{ inputs.environment }}
@@ -39,3 +30,4 @@ jobs:
run: bun run deploy-${{ inputs.environment }}
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
+ CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml
index 8dfe0d0efb..693b06a627 100644
--- a/.github/workflows/release-production.yml
+++ b/.github/workflows/release-production.yml
@@ -24,15 +24,6 @@ jobs:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- deploy-lexical-service:
- name: Deploy Lexical Service
- needs: [deploy-cloud-storage]
- uses: ./.github/workflows/deploy-lexical-service.yml
- with:
- environment: prod
- secrets:
- CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
-
build:
name: Build Web App
runs-on: linux-extra-beefy