Learn how to deploy your projects with Deployment Hooks.
GET
or POST
request to the URL.
sha
or branch
parameter to the deployment URL to choose which branch or Git commit to deploy. These parameters may be passed as query string variables or POST fields.
current
symbolic link at the latest release, and finally purging any old deployments from your server.
Of course, any deployment hooks you have configured will also be run during the deployment in their configured sequence.
release
variable to access the most current release directory. For example:
Name | Description |
---|---|
author | The author of the commit that is being deployed |
branch | The branch that Envoyer is configured to deploy |
message | The message of the commit that is being deployed |
project | The project’s root directory (the directory which contains current , releases and storage ) |
release | The current release path, within releases |
sha | The commit hash that is being deployed |
time | The current deployment formatted as YmdHis |
php | The server’s configured PHP path |
composer | The server’s configured Composer path |
name | The project’s name |
{{ variable }}
is the same as {{variable}}