gsomoza / deployer-artifact
Deploys Zip and Tar artifacts using Deployer.org
0.2.2
2024-04-05 14:03 UTC
Requires
- php: ^7.4||^8.0
- aws/aws-sdk-php: ^3.222
Requires (Dev)
- deployer/deployer: ^7.0@rc
This package is auto-updated.
Last update: 2026-03-05 18:17:44 UTC
README
This recipe deploys artifacts using [Deployer|https://deployer.org].
Installation
-
Install Deployer in your project.
-
Then require this recipe:
composer require gsomoza/deployer-artifact "^0.1"
Usage
- Import the recipe in your
deploy.phpscript:
<?php // assumes you're running Deployer via PHAR: import(__DIR__ . 'vendor/autoload.php'); import('recipe/artifact.php');
- Set
artifact_pathto the local path where your artifact is located.
<?php set('artifact_path', 'build/project.zip');
- Use the
deploy:artifacttask or any of its sub-tasks.
Examples
You can find example setups in the [examples|https://github.com/gsomoza/deployer-artifact/tree/main/examples] folder.