Skip to content

ci(monorepo): require the DEPLOY_PATH secret - #23

Merged
gustmrg merged 1 commit into
mainfrom
ci/require-deploy-path-secret
Oct 11, 2026
Merged

gustmrg merged 1 commit into
mainfrom
ci/require-deploy-path-secret

Conversation

@gustmrg

@gustmrg gustmrg commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • The backend and MCP server deploys read DEPLOY_PATH only from the secret, without a hard-coded fallback.
  • Both deploy scripts stop with The DEPLOY_PATH secret is not set. when it is empty, before connecting to the server.
  • docs/deployment.md marks the secret as required.

Why

The fallbacks were only used when the secret was missing, and then they caused problems:

  • The two workflows used different defaults.
  • The backend default did not match the directory the deploys use, so it would fail later with a misleading "deploy path does not exist" error.
  • Both exposed a server path in the public repository.

The secret is already set, so current deploys behave the same.

The backend and MCP deploys fell back to hard-coded paths when the
DEPLOY_PATH secret was missing. The two defaults disagreed, the
backend's did not match the deploy directory, and they exposed a server
path in the public repository. Use the secret only and stop with a
clear error when it is empty.
@gustmrg
gustmrg merged commit 675c517 into main Oct 11, 2026
4 checks passed
@gustmrg
gustmrg deleted the ci/require-deploy-path-secret branch October 11, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant