gsomoza / deployer-artifact
Deploys Zip and Tar artifacts using Deployer.org
Installs: 6 979
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 2
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: 2024-11-05 15:23:54 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.php
script:
<?php // assumes you're running Deployer via PHAR: import(__DIR__ . 'vendor/autoload.php'); import('recipe/artifact.php');
- Set
artifact_path
to the local path where your artifact is located.
<?php set('artifact_path', 'build/project.zip');
- Use the
deploy:artifact
task 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.