Skip to content

Commit

Permalink
Fix deploy:env task
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 23, 2024
1 parent 549e865 commit 44b38f2
Show file tree
Hide file tree
Showing 29 changed files with 75 additions and 64 deletions.
2 changes: 1 addition & 1 deletion docs/recipe/cakephp.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Cakephp** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/codeigniter.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Codeigniter** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/codeigniter4.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Codeigniter 4** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/contao.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Contao** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/craftcms.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Craftcms** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
13 changes: 12 additions & 1 deletion docs/recipe/deploy/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,22 @@ require 'recipe/deploy/env.php';
[Source](/recipe/deploy/env.php)


## Configuration
### dotenv_example
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/env.php#L5)



```php title="Default value"
'.env.example'
```



## Tasks

### deploy\:env {#deploy-env}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/env.php#L6)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/env.php#L8)

Configure .env file.

Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/drupal7.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Drupal 7** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/drupal8.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Drupal 8** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/flow_framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Flow Framework** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/fuelphp.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Fuelphp** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/joomla.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Joomla** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Laravel** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/magento.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Magento** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:cache:clear](/docs/recipe/magento.md#deploy-cache-clear) – Clears cache
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/magento2.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Magento 2** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/pimcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Pimcore** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/prestashop.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Prestashop** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/shopware.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Shopware** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [sw:writable:jwt](/docs/recipe/shopware.md#sw-writable-jwt)
Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/silverstripe.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [deploy](#deploy) task of **Silverstripe** consists of:
* [deploy:lock](/docs/recipe/deploy/lock.md#deploy-lock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deploy-release) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deploy-update_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deploy-env)Optimize environment variables
* [deploy:env](/docs/recipe/deploy/env.md#deploy-env)Configure .env file
* [deploy:shared](/docs/recipe/deploy/shared.md#deploy-shared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploy-writable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors) – Installs vendors
Expand Down
Loading

0 comments on commit 44b38f2

Please sign in to comment.