Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 956 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 956 Bytes

Wake Up!

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.

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:

{
  "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

Example pantheon.yml

api_version: 1

workflows:
  sync_code:
    after:
      - type: webphp
        description: Wakeup!
        script: private/scripts/quicksilver/pantheon-quicksilver/wakeup.php