agentsclimarketplace

Drupal update deploy

Skill acquia/acquia-skills-private/skills/playbooks/drupal-update-deploy

Install
npx -y skills add acquia/acquia-skills-private --skill drupal-update-deploy

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when user wants to update Drupal dependencies and deploy the changes to an Acquia environment, optionally triggering a pipeline build. Chains drupal-maintenance, acli, and pipelines-cli skills.

The file declares its own license as Proprietary. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.1 KB, as published. Nobody here has run it

Drupal Update and Deploy Workflow

Use when:

  • Applying Drupal dependency updates and deploying to an Acquia environment
  • Running the full cycle: update packages → push code → deploy → trigger pipeline

Prerequisites: The following skill sets must be loaded: drupal-maintenance, acli, pipelines-cli.


Workflow

Step 1 — Apply dependency updates

Ask the user: "Do you need to apply dependency updates first, or are updates already done?"

  • If updates are needed → follow Security Updates or Dependency Updates depending on the use case, then return here.
  • If updates are already applied → proceed to Step 2.

Step 2 — Fetch application and environments

Always run these before asking the user where to deploy. This ensures the correct application and environment IDs are used.

# List available applications and note the UUID
acli api:applications:list

Output shows application names and UUIDs. Ask the user: "Which application do you want to deploy to?" and confirm the UUID.

# List environments for the selected application
acli api:environments:list <app-uuid>

Output shows environment labels (dev, stage, prod, CDEs), IDs, and the currently deployed branch. Ask the user: "Which environment do you want to deploy to?"


Step 3 — Commit code changes

Before pushing, check for uncommitted changes:

git status

If there are uncommitted changes, ask the user: "Do you want to commit these changes before deploying?"

  • If yes — ask for a commit message, then commit:
    git add -A
    git commit -m "<user-provided message>"
    
  • If no — warn the user that uncommitted changes will not be included in the deployment and confirm they want to proceed.

Step 4 — Push code to Acquia Cloud

Push the committed code to the selected environment:

acli push:code

Follow Pull & Push for full options (selecting environments, handling conflicts).


Step 5 — Switch code on the environment

After pushing, switch the environment to the updated branch using the environment ID from Step 2:

acli api:environments:switchCode <environment-id> --branch=<branch-name>

Follow Environment Management for deploy options.


Step 6 — Trigger a pipeline build (optional)

Ask the user: "Do you want to trigger a pipeline build for the deployed branch?"

pipelines start --application-id=<app-id> --vcs-path=<branch> --tail
  • If no → workflow complete.

Step 7 — Verify deployment

After the pipeline completes (or if skipping pipelines), confirm the environment is running the expected code:

acli api:environments:list <app-uuid>

Check the vcs field of the target environment to confirm the branch matches.


Quick Reference

StepToolSkill
Update packagescomposerdrupal-maintenance-security-updates or drupal-maintenance-dependency-updates
Fetch application + environmentsacliacli-application-management, acli-environment-management
Commit code changesgit
Push codeacliacli-pull-push
Deploy to environmentacliacli-environment-management
Trigger pipelinepipelines-clipipelines-cli-pipeline-operations

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.