{"repo":"pantheon-systems/quicksilver-examples","free":true,"listed":false,"github":"https://github.com/pantheon-systems/quicksilver-examples","clone":"git clone https://github.com/pantheon-systems/quicksilver-examples.git","description":"Example scripts for using Pantheon's Quicksilver Platform Hooks","language":"PHP","stars":138,"topics":["automation","quicksilver"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Pantheon Cloud Integration Examples This repo contains example scripts for use with Quicksilver Platform Hooks. These will allow you to automate more of your workflow, and integrate better with other cloud services. The current release of Quicksilver supports one utility operation: webphp . This invokes a PHP script via the same runtime environment as the website itself. php scripts are subject to the same limits as any code on the platform, like timeouts, and cannot be batched. This initial release makes four platform workflows eligible for Quicksilver operations: - deploy : when code is deployed to Test or Live. webphp scripts run on the target environment. - sync code : code is pushed via Git or committed in the Pantheon dashboard. webphp scripts run on the committed-to environment (dev or multidev). - clone database : data is cloned between environments. webphp scripts run on the target (to env) environment. - clear cache : the most popular workflow of them all! webphp scripts run on the cleared environment. Introducing pantheon.yml ## Quicksilver is configured via a pantheon.yml file, which lives in the root of your repository ( /code/ ). When this file is first pushed to an environment, it will set up the workflow triggers. The format for pantheon.yml is as follows: Note that if you want to hook onto deploy workflows, you'll need to deploy your pantheon.yml into an environment first. Likewise, if you are adding new operations or changing the script an operation will tar","default_branch":null,"files":null,"tree":[],"storefront":"/r/pantheon-systems","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pantheon-systems/quicksilver-examples/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}