Download the PHP package beniwtv/git-deployer without Composer
On this page you can find all versions of the php package beniwtv/git-deployer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download beniwtv/git-deployer
More information about beniwtv/git-deployer
Files in beniwtv/git-deployer
Package git-deployer
Short Description Deploys projects from Git, via configurable plugins.
License MIT
Informations about the package git-deployer
DEPRECATION WARNING: AFTER A YEAR OF USING GIT-DEPLOYER, I SWITCHED TO A CONTINOUS INTEGRATION/BUILD SYSTEM VIA DOCKER/NOMAD/DRONE. AS SUCH, THIS PROJECT IS NO LONGER MAINTAINED.
Git-Deployer
Welcome to Git-Deployer! Git-Deployer is a tool which you can use to manage your deployments from Git repositories.
This document contains information on how to download, install, and start using Git-Deployer.
1) Installing Git-Deployer
To install Git-Deployer, you can download a PHAR-archive, and put it somewhere in your $PATH, for example:
2) Using Git-Deployer
First, you will need to log-in to a Git service, like GitLab or GitHub. To know which services are available to you currently, use:
This will list all services that are currently available in git-deployer. When you have chosen a service, log in to it with the command:
The service may ask you a few questions, like the log-in user and password. After you have logged in, execute the config command, which will guide you through the configuration for the rest of Git-Deployer:
After you have sucessfully configured Git-Deployer, you can check the status of your deployments with the status command:
To obtain a little bit more information about a Git project, use the info command:
You can also delete all information from Git-Deployer if you use the logout command:
3) Deployment with Git-Deployer
Sometimes, it is useful to see the Git history before deploying. You can show the history of your Git repository with the history command:
To be able to deploy a Git repository with Git-Deployer, you must first add the project so that Git-Deployer is made aware of the new project:
You can also remove an added Project with the remove command:
Next step is to create a .deployerfile in your repository, which will tell Git-Deployer how to deploy your project. For that, execute the init command in the root of your Git repository:
Once you have your .deployerfile, make sure to configure it according to your needs. An explanation of the configuration of this file can be found by executing:
Once you are ready, start the deployment with the deploy command, for example:
Optionally, you can pass a specific configuration section of your .deployerfile:
Enjoy!
4) About "Builders and "Deployers"
NOTE: This is new as of Git-Deployer 1.0.0. Older .deployerfiles will need to be upgraded to the new format - don't worry, it's largely the same though.
Builders and deployers are plugins for Git-Deployer that allow you to modify how a project is built and deployed to a server. The builder/deployer to use can be set ona project by project basis, in the .deployerfile.
To check which builders/deployers have been integrated into your build of Git-Deployer, execute:
To get help about a specific builder, execute:
To get help about a specific deployer, execute:
5) More!
See git-deployer -h for more commands and help!
All versions of git-deployer with dependencies
symfony/console Version 3.0.*
dnoegel/php-xdg-base-dir Version ^0.1.0
guzzlehttp/guzzle Version ~6.0
gitonomy/gitlib Version 1.0.*
padraic/phar-updater Version ~1.0.2
docker-php/docker-php Version ~1.22.0