From 7d316205097abf2c91be5e0bff8262b9cce79030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Fri, 10 Jul 2026 15:24:45 -0700 Subject: [PATCH 1/4] Deprecate mode and provider in README Mark 'mode' and 'provider' as deprecated in favor of 'stack'. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d489075..c7b3906 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,8 @@ jobs: config-env-vars: "API_KEY DB_CONNECTION_STRING" cwd: "./test" compose-files: "./docker-compose.yaml" - mode: "staging" - provider: "aws" + mode: "staging" # deprecated in favor of stack: + provider: "aws" # deprecated in favor of stack: stack: "production" command: "compose up" verbose: true From 92cc7f745222a8f594a14af74117ca8dcddcc7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Fri, 10 Jul 2026 15:26:05 -0700 Subject: [PATCH 2/4] Deprecate 'mode' and 'provider' fields in action.yaml Updated descriptions for 'mode' and 'provider' fields to indicate deprecation in favor of 'stack'. --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 4c6fa8e..3473a37 100644 --- a/action.yaml +++ b/action.yaml @@ -35,7 +35,7 @@ inputs: required: false default: "." mode: - description: "The deployment mode. Options: 'affordable', 'balanced', 'high-availability'" + description: "The deployment mode. Options: 'affordable', 'balanced', 'high-availability'. Deprecated in favor of stack:" required: false default: "" stack: @@ -47,7 +47,7 @@ inputs: required: false default: "" provider: - description: "The cloud provider to deploy to. Options: 'aws', 'defang', 'digitalocean', 'gcp'. If not specified, the CLI will determine the appropriate provider." + description: "The cloud provider to deploy to. Options: 'aws', 'azure', 'digitalocean', 'gcp'. If not specified, the CLI will determine the appropriate provider. Deprecated in favor of stack:" required: false default: "" verbose: From abf111683fcbd92d4eb18b738f3b11f1417cb378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Fri, 10 Jul 2026 15:27:52 -0700 Subject: [PATCH 3/4] Remove mode setting from GitHub Actions workflow Removed 'mode' setting from two steps in the workflow. --- .github/workflows/test.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 030481c..0c97f2e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,7 +33,6 @@ jobs: compose-files: | compose.yaml compose.prod.yaml - mode: "" command: "compose help" env: DEFANG_GH_ACTION_TEST_ENV: "foo" @@ -53,7 +52,6 @@ jobs: config-env-vars: "" cwd: "./test" compose-files: "" - mode: "staging" verbose: true command: "compose up --dry-run --project-name github-action-test" From c41726fbd14f63a500614d4fea9948d2e82f5951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Fri, 10 Jul 2026 15:33:37 -0700 Subject: [PATCH 4/4] Change deployment mode to 'balanced' and remove deprecated options Updated deployment configuration to use 'balanced' mode and removed deprecated 'staging' mode. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7b3906..318d3cd 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,8 @@ jobs: config-env-vars: "API_KEY DB_CONNECTION_STRING" cwd: "./test" compose-files: "./docker-compose.yaml" - mode: "staging" # deprecated in favor of stack: - provider: "aws" # deprecated in favor of stack: + mode: "balanced" # deprecated in favor of stack: + provider: "aws" # deprecated in favor of stack: stack: "production" command: "compose up" verbose: true