Skip to content

Commit

Permalink
Always gen files at launch
Browse files Browse the repository at this point in the history
  • Loading branch information
lubien committed Dec 9, 2024
1 parent a42db34 commit 286f137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
CREATE_AND_PUSH_BRANCH = !get_env("DEPLOY_CREATE_AND_PUSH_BRANCH").nil?
FLYIO_BRANCH_NAME = "flyio-new-files"

DEPLOY_TRIGGER = get_env("DEPLOY_TRIGGER")
DEPLOYER_FLY_CONFIG_PATH = get_env("DEPLOYER_FLY_CONFIG_PATH")
DEPLOYER_SOURCE_CWD = get_env("DEPLOYER_SOURCE_CWD")
DEPLOY_APP_NAME = get_env("DEPLOY_APP_NAME")
Expand Down Expand Up @@ -268,7 +269,7 @@
ORG_SLUG = manifest["plan"]["org"]
APP_REGION = manifest["plan"]["region"]

DO_GEN_REQS = !DEPLOY_COPY_CONFIG || !HAS_FLY_CONFIG
DO_GEN_REQS = DEPLOY_TRIGGER == "launch"

debug("generate reqs? #{DO_GEN_REQS}")

Expand Down

0 comments on commit 286f137

Please sign in to comment.