Skip to content

Commit

Permalink
Fix deploy:env task
Browse files Browse the repository at this point in the history
(cherry picked from commit 44b38f2)
  • Loading branch information
antonmedv committed Oct 23, 2024
1 parent ec34133 commit d122f61
Show file tree
Hide file tree
Showing 29 changed files with 829 additions and 818 deletions.
50 changes: 25 additions & 25 deletions docs/recipe/cakephp.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ Additionally, Deployer has a lot of other features, like:
You can read more about Deployer in [Getting Started](/docs/getting-started.md).

The [deploy](#deploy) task of **Cakephp** consists of:
* [deploy:prepare](/docs/recipe/common.md#deployprepare) – Prepares a new release
* [deploy:info](/docs/recipe/deploy/info.md#deployinfo) – Displays info about deployment
* [deploy:setup](/docs/recipe/deploy/setup.md#deploysetup) – Prepares host for deploy
* [deploy:lock](/docs/recipe/deploy/lock.md#deploylock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deployrelease) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deployupdate_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deployenv)Optimize environment variables
* [deploy:shared](/docs/recipe/deploy/shared.md#deployshared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploywritable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors) – Installs vendors
* [deploy:init](/docs/recipe/cakephp.md#deployinit)
* [deploy:run_migrations](/docs/recipe/cakephp.md#deployrun_migrations)
* [deploy:publish](/docs/recipe/common.md#deploypublish) – Publishes the release
* [deploy:symlink](/docs/recipe/deploy/symlink.md#deploysymlink) – Creates symlink to release
* [deploy:unlock](/docs/recipe/deploy/lock.md#deployunlock) – Unlocks deploy
* [deploy:cleanup](/docs/recipe/deploy/cleanup.md#deploycleanup) – Cleanup old releases
* [deploy:success](/docs/recipe/common.md#deploysuccess) – Deploys your project
* [deploy:prepare](/docs/recipe/common.md#deploy-prepare) – Prepares a new release
* [deploy:info](/docs/recipe/deploy/info.md#deploy-info) – Displays info about deployment
* [deploy:setup](/docs/recipe/deploy/setup.md#deploy-setup) – Prepares host for deploy
* [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/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
* [deploy:init](/docs/recipe/cakephp.md#deploy-init)
* [deploy:run_migrations](/docs/recipe/cakephp.md#deploy-run_migrations)
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
* [deploy:symlink](/docs/recipe/deploy/symlink.md#deploy-symlink) – Creates symlink to release
* [deploy:unlock](/docs/recipe/deploy/lock.md#deploy-unlock) – Unlocks deploy
* [deploy:cleanup](/docs/recipe/deploy/cleanup.md#deploy-cleanup) – Cleanup old releases
* [deploy:success](/docs/recipe/common.md#deploy-success) – Deploys your project


The cakephp recipe is based on the [common](/docs/recipe/common.md) recipe.
Expand Down Expand Up @@ -84,23 +84,23 @@ CakePHP 4 Project Template shared files

## Tasks

### deploy:init
### deploy\:init {#deploy-init}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L28)



Create plugins' symlinks


### deploy:run_migrations
### deploy\:run_migrations {#deploy-run_migrations}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L35)



Run migrations


### deploy
### deploy {#deploy}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L43)


Expand All @@ -109,10 +109,10 @@ Main task


This task is group task which contains next tasks:
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors)
* [deploy:init](/docs/recipe/cakephp.md#deployinit)
* [deploy:run_migrations](/docs/recipe/cakephp.md#deployrun_migrations)
* [deploy:publish](/docs/recipe/common.md#deploypublish)
* [deploy:prepare](/docs/recipe/common.md#deploy-prepare)
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors)
* [deploy:init](/docs/recipe/cakephp.md#deploy-init)
* [deploy:run_migrations](/docs/recipe/cakephp.md#deploy-run_migrations)
* [deploy:publish](/docs/recipe/common.md#deploy-publish)


38 changes: 19 additions & 19 deletions docs/recipe/codeigniter.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ Additionally, Deployer has a lot of other features, like:
You can read more about Deployer in [Getting Started](/docs/getting-started.md).

The [deploy](#deploy) task of **Codeigniter** consists of:
* [deploy:prepare](/docs/recipe/common.md#deployprepare) – Prepares a new release
* [deploy:info](/docs/recipe/deploy/info.md#deployinfo) – Displays info about deployment
* [deploy:setup](/docs/recipe/deploy/setup.md#deploysetup) – Prepares host for deploy
* [deploy:lock](/docs/recipe/deploy/lock.md#deploylock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deployrelease) – Prepares release
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deployupdate_code) – Updates code
* [deploy:env](/docs/recipe/symfony.md#deployenv)Optimize environment variables
* [deploy:shared](/docs/recipe/deploy/shared.md#deployshared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploywritable) – Makes writable dirs
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors) – Installs vendors
* [deploy:publish](/docs/recipe/common.md#deploypublish) – Publishes the release
* [deploy:symlink](/docs/recipe/deploy/symlink.md#deploysymlink) – Creates symlink to release
* [deploy:unlock](/docs/recipe/deploy/lock.md#deployunlock) – Unlocks deploy
* [deploy:cleanup](/docs/recipe/deploy/cleanup.md#deploycleanup) – Cleanup old releases
* [deploy:success](/docs/recipe/common.md#deploysuccess) – Deploys your project
* [deploy:prepare](/docs/recipe/common.md#deploy-prepare) – Prepares a new release
* [deploy:info](/docs/recipe/deploy/info.md#deploy-info) – Displays info about deployment
* [deploy:setup](/docs/recipe/deploy/setup.md#deploy-setup) – Prepares host for deploy
* [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/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
* [deploy:publish](/docs/recipe/common.md#deploy-publish) – Publishes the release
* [deploy:symlink](/docs/recipe/deploy/symlink.md#deploy-symlink) – Creates symlink to release
* [deploy:unlock](/docs/recipe/deploy/lock.md#deploy-unlock) – Unlocks deploy
* [deploy:cleanup](/docs/recipe/deploy/cleanup.md#deploy-cleanup) – Cleanup old releases
* [deploy:success](/docs/recipe/common.md#deploy-success) – Deploys your project


The codeigniter recipe is based on the [common](/docs/recipe/common.md) recipe.
Expand Down Expand Up @@ -75,7 +75,7 @@ CodeIgniter writable dirs

## Tasks

### deploy
### deploy {#deploy}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/codeigniter.php#L19)

Deploys your project.
Expand All @@ -84,8 +84,8 @@ Main task


This task is group task which contains next tasks:
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors)
* [deploy:publish](/docs/recipe/common.md#deploypublish)
* [deploy:prepare](/docs/recipe/common.md#deploy-prepare)
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deploy-vendors)
* [deploy:publish](/docs/recipe/common.md#deploy-publish)


Loading

0 comments on commit d122f61

Please sign in to comment.