kalamuna/quicksilver-deploy-tools

Runs postedployment commands such as clear cache and configuration import.

Installs: 1 682

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:quicksilver-script

1.0.3 2020-09-11 14:07 UTC

This package is auto-updated.

Last update: 2024-02-11 21:55:00 UTC


README

This Quicksilver project is used for automation of post-deployment tasks on Pantheon platform.

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.

It has to also include custom quick-silver installer as composer installer doesn't support the quicksilver-script type.

In order for this to work, you should have the following in your composer.json file:

{
  "require": {
    "composer/installers": "^1.0.20",
    "rvtraveller/qs-composer-installer": "1.0"
  },
  "extra": {
    "installer-paths": {
      "web/private/scripts/quicksilver/{$name}/": ["type:quicksilver-script"]
    }
  }
}

The project can be included by using the command:

composer require kalamuna/quicksilver-deploy-tools

Don't forget to update the pantheon.yml file for your Drupal 8/9 installation.

Example pantheon.yml

Here's an example of what your pantheon.yml would look like if this were the only Quicksilver operation you wanted to use.

api_version: 1

workflows:
  sync_code:
    after:
      - type: webphp
        description: Import configuration from .yml files
        script: private/scripts/quicksilver-deploy-tools/postdeploy.php