Skip to content

Commit

Permalink
Updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gbobts authored Mar 29, 2024
1 parent 8f3d615 commit 99c31ce
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/contrib/cachetool.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ Clear opcache cache


### cachetool:clear:apcu
[Source](https://github.com/deployphp/deployer/blob/master/contrib/cachetool.php#L99)
[Source](https://github.com/deployphp/deployer/blob/master/contrib/cachetool.php#L100)

Clears APCu system cache.

Clear APCu cache


### cachetool:clear:stat
[Source](https://github.com/deployphp/deployer/blob/master/contrib/cachetool.php#L110)
[Source](https://github.com/deployphp/deployer/blob/master/contrib/cachetool.php#L111)

Clears file status and realpath caches.

Expand Down
30 changes: 27 additions & 3 deletions docs/recipe/magento2.md
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,32 @@ Cleanup cache id_prefix env files.
After successful deployment, move the tmp_env.php file to env.php ready for next deployment


### magento:cron:stop
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L505)

Remove cron from crontab and kill running cron jobs.

Remove cron from crontab and kill running cron jobs
To use this feature, add the following to your deployer scripts:
```php
after('magento:maintenance:enable-if-needed', 'magento:cron:stop');
```


### magento:cron:install
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L521)

Install cron in crontab.

Install cron in crontab
To use this feature, add the following to your deployer scripts:
```php
after('magento:upgrade:db', 'magento:cron:install');
```


### artifact:prepare
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L499)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L527)

Prepares an artifact on the target server.

Expand All @@ -711,7 +735,7 @@ This task is group task which contains next tasks:


### artifact:finish
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L512)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L540)

Executes the tasks after artifact is released.

Expand All @@ -726,7 +750,7 @@ This task is group task which contains next tasks:


### artifact:deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L521)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L549)

Actually releases the artifact deployment.

Expand Down

0 comments on commit 99c31ce

Please sign in to comment.