Learn how to use Quicksilver hooks to improve your workflow.Discuss in our Forum Discuss in Slack
This section provides information on Quicksilver Hooks workflows.
Quicksilver and the Deploy Hook
pantheon.yml file into an environment before using a Quicksilver hook for a deploy workflow.
Quicksilver scripts that trigger on the deploy hook operate on the state of the code at the time of the deploy, not the state of the code after the deploy. This means that new or updated code is not available until the deployment finishes even though the deploy hook is triggered at the start of the deploy.
You can hook into the following workflows:
|Workflow||Description||Location of webphp runtime||Notes|
|Autopilot Visual Regression test||"Autopilot" Multidev|
|Clear CMS and Edge Cache|
|Clone database between environments||target (to_env)|
|Create Multidev environment||Multidev|
|Deploy code to Test or Live||target|
|Use the command ||Dev or Multidev|
Note that the
sync_code hook runs after the build finishes and the artifacts have been completely deployed to the application server for sites using Integrated Composer.