Download the PHP package university-of-denver/quicksilver-autopilot-notification without Composer
On this page you can find all versions of the php package university-of-denver/quicksilver-autopilot-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download university-of-denver/quicksilver-autopilot-notification
More information about university-of-denver/quicksilver-autopilot-notification
Files in university-of-denver/quicksilver-autopilot-notification
Package quicksilver-autopilot-notification
Short Description Send a notification to a Drupal site when an Autopilot visual regression test is complete
License MIT
Homepage https://github.com/DU-University-Relations/quicksilver-autopilot-notification
Informations about the package quicksilver-autopilot-notification
Quicksilver Autopilot Notification
This project was developed from a template for new Quicksilver projects to utilize so that Quicksilver scripts can be installed through Composer.
Original template: https://github.com/pantheon-quicksilver/quicksilver-template
Requirements:
- PHP 8.0 or higher
- Composer
- Drupal 9+ site running on Pantheon
autopilot_webhook_urlsecret set via Terminus Secretsautopilot_webook_tokensecret set via Terminus Secrets- Autopilot Toolbar module installed
Installation
This project is designed to be included from a site's composer.json file, and placed in its
appropriate installation directory by Composer Installers.
In order for this to work, you should have the following in your composer.json file:
Then, you can install this package via Composer:
composer require university-of-denver/quicksilver-autopilot-notification:^1
Add to pantheon.yml
Here's what you need to add to your pantheon.yml file to run the Quicksilver script after an
Autopilot visual regression test:
Add secrets via Terminus
Follow the instructions in the Terminus plugin docs to add the Terminus Secrets Manager plugin to your local machine.
You'll need to add the following secrets to your Pantheon site via Terminus:
Pantheon Autopilot Toolbar Module
Please see the Pantheon Autopilot Toolbar Module documentation for more information on how to install and configure the module.
This Quicksilver code will send a webhook that will trigger the Pantheon Autopilot Toolbar module to display a notification in the browser with the VRT status.