This is simple script that can be used to wake up a site environment by pinging the public URL before running any other Quicksilver scripts.
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:
{
"require": {
"composer/installers": "^1"
},
"extra": {
"installer-paths": {
"web/private/scripts/quicksilver": ["type:quicksilver-script"]
}
}
}
The project can be included by using the command:
composer require pantheon-quicksilver/wakeup
api_version: 1
workflows:
sync_code:
after:
- type: webphp
description: Wakeup!
script: private/scripts/quicksilver/pantheon-quicksilver/wakeup.php