Skip to content

refactor: replace branch-based env with direct env input#8

Merged
Ang-m4 merged 1 commit intomainfrom
afg/deploy-workflow-env-update
Mar 25, 2025
Merged

refactor: replace branch-based env with direct env input#8
Ang-m4 merged 1 commit intomainfrom
afg/deploy-workflow-env-update

Conversation

@Ang-m4
Copy link
Collaborator

@Ang-m4 Ang-m4 commented Mar 25, 2025

This pull request includes changes to the .github/workflows/mfe-s3-bucket-deployment.yml file to improve the deployment process by using a more flexible environment input.

Improvements to deployment workflow:

  • Replaced the PROD_BRANCH input with ENVIRONMENT to specify the deployment environment (e.g., 'prod', 'stage') instead of relying on the branch name. This change simplifies the workflow and makes it more adaptable to different environments.

@Ang-m4 Ang-m4 requested a review from johanseto March 25, 2025 14:45
Copy link

@johanseto johanseto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The only thing is I want to look how you are going to manage the constraint that prod env should only deploy the prod_branch. Maybe in the caller action like this...
https://github.com/nelc/pearson_vue_engine/blob/main/.github/workflows/deploy-ecs-prod.yml#L7
Its only something to do...

@Ang-m4
Copy link
Collaborator Author

Ang-m4 commented Mar 25, 2025

@johanseto I was thinking something similar, take a look at this PR and let me know if you like it!

@Ang-m4 Ang-m4 merged commit 7a0b34a into main Mar 25, 2025
2 checks passed
@Ang-m4 Ang-m4 deleted the afg/deploy-workflow-env-update branch March 25, 2025 15:55
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