wineworlds/deployer-recipes

A collection of recipes for deployer

Installs: 1 612

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:deployer-recipes

1.2.0 2024-01-18 20:39 UTC

This package is auto-updated.

Last update: 2024-11-18 22:26:42 UTC


README

This is a collection of recipes for deployer.

WORK IN PROGRESS

For the most tasks a .env file with a DATABASE_URL is required.

Install

composer require --dev deployer/deployer
composer require --dev wineworlds/deployer-recipes

Recipes

  • typo3-rsync [fetch, sync, transfer]
  • shopware-rsync [fetch, sync, transfer]
  • fetch
  • sync
  • transfer

Example

import:
  - vendor/wineworlds/deployer-recipes/recipe/typo3-rsync.php

config:
  sync_from_host: live
  sync_to_host: preview
  remote_user: username
  http_user: username

hosts:
  preview:
    hostname: example.de
    deploy_path: /var/www/username/preview

  live:
    hostname: example.de
    deploy_path: /var/www/username/live

tasks:
  build:
    - run: uptime

after:
  deploy:failed: deploy:unlock

Commands

vendor/bin/dep sync preview
vendor/bin/dep sync:db preview
vendor/bin/dep sync:files preview

vendor/bin/dep fetch preview
vendor/bin/dep fetch:db preview
vendor/bin/dep fetch:files preview

vendor/bin/dep transfer preview
vendor/bin/dep transfer:files preview