🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: ecs production deploy automation (#3408)
Steffen Schmitz0e9cf548b2f5
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex af91911877..218a82f291 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -2,6 +2,7 @@ on:push:branches:- main+ - productionworkflow_dispatch:inputs:service:@@ -19,7 +20,7 @@ on:options:- staging- prod-eu-temp- # - prod-us+ - prod-usrequired: trueconcurrency:@@ -57,7 +58,7 @@ jobs:with:result-encoding: stringscript: |- console.log('Services', `${process.env.result}` ?? 'n/a');+ console.log('Services', `${process.env.services}` ?? 'n/a');affected-environments:runs-on: ubuntu-latest@@ -73,8 +74,12 @@ jobs:return `["${context.payload.inputs.environment}"]`}if (context.eventName === "push") {- // TODO: Can we distinguish push branch vs push tag for staging vs. prod?- return `["staging"]`+ if (context.ref === "refs/heads/main") {+ return `["staging"]`+ }+ if (context.ref === "refs/heads/production") {+ return `["prod-eu-temp", "prod-us"]`+ }}return "[]"result-encoding: string@@ -85,7 +90,7 @@ jobs:with:result-encoding: stringscript: |- console.log('Environments', `${process.env.result}` ?? 'n/a');+ console.log('Environments', `${process.env.environments}` ?? 'n/a');ecs-deploy:uses: ./.github/workflows/_deploy_ecs_service.yml