Skip to content

Conversation

@mazhelez
Copy link
Collaborator

@mazhelez mazhelez commented Oct 1, 2025

❔What, Why & How

What: Refactor logic for determining deployment environments and deployment script

Why: Currently, environment settings deployTo<envName> isn't taken into account during deployment.

How: Applying the following logic:

  • DetermineDeploymentsEnvironments action should not calculate deployment settings: they should be calculated in the Deploy action per environment.
  • DetermineDeploymentsEnvironments should only calculate shell, runs-on and enviromentName, as they are needed runtime to construct the deployment matrix.
  • Settings that are read during the deployment jobs should be taken into account when calculating the deployment configuration.

Related to issue: no active issue at the moment

✅ Checklist

mazhelez and others added 8 commits October 1, 2025 21:47
… script

- DetermineDeploymentsEnvironments action should not calculate deployment settings (they should be calculated in the Deploy action per environment)
- DetermineDeploymentsEnvironments should only calculate shell, runs-on and enviroment name, as they are needed runtime to construct the deployment matrix
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.

2 participants