Skip to content

Allow overriding the branch name used to look up configuration #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

mpdude
Copy link
Member

@mpdude mpdude commented Jun 30, 2022

This PR adds a new config-name action input value. It can be used to override the name used to look up the deployment configuration in the branch_config section of the appspec.yml file.

By default, the current branch name (master, or a PR branch) will be used to find a deployment config, by matching the regular expressions from the branch_config section in appspec.yml.

Overriding the value makes sense when running the action multiple times within the same job or workflow to create multiple deployments for a single push or PR.

@mpdude mpdude merged commit 7e84e00 into master Jun 30, 2022
@mpdude mpdude deleted the multi-deployments branch June 30, 2022 15:40
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