Added refresh-remote-state option to deploy command
Tests / PHP 8.3 (push) Canceled after 0s
Tests / PHP 8.4 (push) Canceled after 0s

This commit is contained in:
Meghdad committed 2026-06-25 15:26:28 +03:30
1 parent 99468ae0d2
commit 47d6df6bbe
4 files changed
+68 -2

No files matched your search

+8
View File
@@ -85,6 +85,14 @@ Upload changed files and update the remote sync-state:
php artisan ftp:deploy --yes
```
Refresh the remote server sync-state through the JSON API before deploying:
```bash
php artisan ftp:deploy --refresh-remote-state --yes
```
This option calls the same API implementation used by `ftp:api-summary`, then continues the FTP deploy using the refreshed remote state file.
Generate a sync-state file locally:
```bash