Each application has its own git repository connected to workflows that deploy to application environments when you push specific branches or tags.
To commit your project code:
By default, any commits to the dev branch automatically trigger the code deployment to the Dev environment, while the stage branch triggers the Stage environment deployment. You can contact Acquia Support to change the branch/environment mapping.
If your project uses php composer, commit the vendor folder to the repository as well.
Deployments to production are not triggered by git pushes. They require SSH access to the production task server and use ach-cli.
Run the deploy sub-command to deploy a branch (-b) to a specific environment (-e):
ach-cli deploy -e <environment> -b <branch>For example, to deploy the “release” branch to the stage environment, run:
ach-cli deploy -e stage -b releaseIf your automated workflows are configured to automatically deploy from a different branch such as stage, then pushing to that branch triggers the deployment and overwrites the release from this branch.
To request changes to mappings, create a Support ticket.
To deploy the “release-1.2.0” tag to the production environment, run:
ach-cli deploy -e production -b release-1.2.0If your project uses php composer, commit the vendor folder to the repository as well.
Deployments to production are not triggered by git pushes. They require SSH access to the production task server and use ach-cli.
Run the deploy sub-command to deploy a branch (-b) to a specific environment (-e):
ach-cli deploy -e <environment> -b <branch>For example, to deploy the “release” branch to the stage environment, run:
ach-cli deploy -e stage -b releaseIf your automated workflows are configured to automatically deploy from a different branch such as stage, then pushing to that branch triggers the deployment and overwrites the release from this branch.
To request changes to mappings, create a Support ticket.
To deploy the “release-1.2.0” tag to the production environment, run:
ach-cli deploy -e production -b release-1.2.0If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.