Skip to content

The open alternative to Salesforce, designed for AI.

Fix CI Server

Charles Bochet654a0bb79e90
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 806bfe725f7..03da78e9d8e 100644
--- a/.github/workflows/ci-server.yaml
+++ b/.github/workflows/ci-server.yaml
@@ -187,12 +187,10 @@ jobs:
- name: Update .env.test for billing
if: steps.changed-files.outputs.any_changed == 'true'
run: |
- sed -i '$ a\
-IS_BILLING_ENABLED=true\
-BILLING_STRIPE_API_KEY=test-api-key\
-BILLING_STRIPE_BASE_PLAN_PRODUCT_ID=test-base-plan-product-id\
-BILLING_STRIPE_WEBHOOK_SECRET=test-webhook-secret' .env.test
-
+ echo "IS_BILLING_ENABLED=true" >> .env.test
+ echo "BILLING_STRIPE_API_KEY=test-api-key" >> .env.test
+ echo "BILLING_STRIPE_BASE_PLAN_PRODUCT_ID=test-base-plan-product-id" >> .env.test
+ echo "BILLING_STRIPE_WEBHOOK_SECRET=test-webhook-secret" >> .env.test
- name: Server / Restore Task Cache
if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/workflows/actions/task-cache