Search by

ubc-cpsc / deployer-recipes

joelpittet

UBC CS deployer recipes

Package info

github.com/ubc-cpsc/deployer-recipes

pkg:composer/ubc-cpsc/deployer-recipes

Statistics

Installs: 2 552

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

3.0.2 2026-11-18 20:53 UTC

README

This repository contains UBC CS department recipes to integrate with deployer.

Installing

composer require ubc-cpsc/deployer-recipes:^3.0 --dev

Compatibility

Recipe version Deployer version PHP version
3.x 8.x 8.3 or later
2.x 7.x Supported by the selected Deployer 7 release

The 2.x branch receives critical compatibility fixes for Deployer 7. New development targets Deployer 8 on the 3.x branch.

Include recipes in deploy.php file.

require 'recipes/drupal8.php';

Recipes

Recipe Docs
base
cachetool read
drupal
drupal7
drupal8
laravel

Drupal .env validation

The Drupal recipes default drush_require_env to true. Before running Drush, the task requires a readable, nonempty .env in the directory where Drush will run. A missing or unusable file stops the task and reports the path.

Set drush_require_env to false if your site runs Drush and supplies its database credentials without a .env file, for example through Drupal's local settings. Add this after loading the recipe in deploy.php.

set('drush_require_env', false);

The setting bypasses only the .env check. Drush commands still run, and a failed database probe still stops the task. Deploy workflows that omit the Drush tasks need no override.

Contributing

Read the contributing guide, take a look on open issues

License

Licensed under the MIT license.