mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Updating ReadMe
This commit is contained in:
parent
f00166c73a
commit
0fae300950
23
README.md
23
README.md
@ -51,15 +51,16 @@ I recommend you use a secrets to store your FTP_USERNAME and FTP_PASSWORD.
|
||||
Custom lftp arguments, this field is passed through directly into the lftp script. See [lftp's website](https://lftp.yar.ru/lftp-man.html) for all options.
|
||||
You can use as many arguments as you want, seperate them with a space
|
||||
|
||||
| Argument | Description |
|
||||
|---------------------|------------------------------------------------------------------|
|
||||
| `--delete` | Delete files not present at the source |
|
||||
| `--transfer-all` | Transfer all files, even seemingly the same at the target site |
|
||||
| `--dry-run` | Ouputs a list of files that will be created/modified to sync your source without making any actual changes |
|
||||
| `--include-glob=GP` | Include matching files (GP is a glob pattern, e.g. `*.zip') |
|
||||
| `--exclude-glob=GP` | Exclude matching files (GP is a glob pattern, e.g. `*.zip') |
|
||||
| `--no-empty-dirs` | Don't create empty directories |
|
||||
|
||||
| Argument | Description |
|
||||
|---------------------|----------------------------------------------------------------------|
|
||||
| `--delete` | Delete files not present at the source |
|
||||
| `--transfer-all` | Transfer all files, even seemingly the same at the target site |
|
||||
| `--dry-run` | Ouputs files that will be modified without making any actual changes |
|
||||
| `--include=` | Include matching files |
|
||||
| `--exclude=` | Exclude matching files |
|
||||
| `--include-glob=GP` | Include matching files (GP is a glob pattern, e.g. `*.zip`) |
|
||||
| `--exclude-glob=GP` | Exclude matching files (GP is a glob pattern, e.g. `*.zip`) |
|
||||
| `--no-empty-dirs` | Don't create empty directories |
|
||||
|
||||
|
||||
## Common Examples
|
||||
@ -121,6 +122,10 @@ jobs:
|
||||
##### Want another example? Let me know by creating a github issue
|
||||
|
||||
|
||||
## FAQ
|
||||
1. `rm: Access failed: 553 Prohibited file name: ./.ftpquota`
|
||||
* The `.ftpquota` file is created by some FTP Servers and cannot be modified by the user
|
||||
* **Fix:** Add `--exclude=.ftpquota` to your ARGS
|
||||
|
||||
#### Deprecated main.workflow config (used for beta/legacy apps that haven't been migrated to .yaml workflows yet)
|
||||
```json
|
||||
|
Loading…
x
Reference in New Issue
Block a user