chore(workflow): split deployment template file #6058
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves : https://github.com/amplication/amplication-infrastructure-next/issues/50
Addition to: #5975
PR Details
Splits the workflow file
deployment.template.yml
intodeployment.static.template.yml
anddeployment.container.template.yml
.🤖 Generated by Copilot at a27ea23
Summary
🚀🔄📦
This pull request refactors the deployment workflows for container and static applications using Nx Cloud. It adds a new workflow for container deployments, updates the existing workflows for static deployments and releases, and configures the inputs and outputs for the
amplication-client
project.Walkthrough
deployment.template.yml
workflow into two separate workflows for container and static deployments:deployment.container.template.yml
anddeployment.static.template.yml
(link, link)deployment.template.yml
workflow todeployment.static.template.yml
and remove the steps for deploying containerized applications (link, link)NX_CLOUD_ACCESS_TOKEN
to thedeployment.static.template.yml
workflow to authenticate with the Nx Cloud service (link)CLOUDFRONT_DISTRIBUTION_ID
in thedeployment.static.template.yml
workflow to use the configuration variable from thevars.yml
file (link)deployment.production.yml
andrelease.template.yml
workflows to use thedeployment.container.template.yml
anddeployment.static.template.yml
workflows instead of thedeployment.template.yml
workflow for deploying container and static applications (link, link, link)NX_CLOUD_ACCESS_TOKEN
to therelease.template.yml
workflow to authenticate with the Nx Cloud service (link)amplication-client
project in theproject.json
file to specify the dependencies and artifacts for the nx commands (link)