mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Update UPGRADE.md
This commit is contained in:
parent
b2ef2df6a1
commit
356ca33ff0
27
UPGRADE.md
27
UPGRADE.md
@ -1,17 +1,22 @@
|
||||
# Upgrade from 3.x to 4.x
|
||||
|
||||
1.
|
||||
|
||||
|
||||
# Upgrade from 2.x to 3.x
|
||||
|
||||
1. ### `->path('...')`
|
||||
Replace your server paths configuration:
|
||||
```php
|
||||
server(...)
|
||||
->path(...);
|
||||
```
|
||||
to:
|
||||
```php
|
||||
server(...)
|
||||
->env('deploy_path', '...');
|
||||
```
|
||||
1. ### `->path('...')`
|
||||
|
||||
Replace your server paths configuration:
|
||||
|
||||
```php
|
||||
server(...)
|
||||
->path(...);
|
||||
```
|
||||
|
||||
to:
|
||||
|
||||
```php
|
||||
server(...)
|
||||
->env('deploy_path', '...');
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user