Skip to content

Commit

Permalink
purge SFTP_ONLY flag
Browse files Browse the repository at this point in the history
  • Loading branch information
maaaathis authored Aug 18, 2024
1 parent 9fd5767 commit 11fbfc6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
| `ssh_private_key` | No | | SSH private key. Copy the contents of your private key file (e.g., `id_rsa`) and add it as a secret in your repository settings. |
| `local_path` | Yes | `./*` | Local path of your project files to be uploaded. For a single file, use `./myfile`. For a directory, use `./static/*`. Default is `./*` (uploads all files in your repository). |
| `remote_path` | Yes | | Remote path where files will be uploaded. |
| `sftp_only` | No | `false` | Set to `true` if the remote host only accepts SFTP connections. Note: If set to `true`, the remote directory will not be created automatically. |
| `sftpArgs` | No | | Additional SFTP arguments. For example, `-o ConnectTimeout=5` |
| `delete_remote_files` | No | `false` | Set to `true` to delete all files in the remote path before uploading. **Use with caution.** |
| `password` | No | | SSH password. If a password is set, the SSH private key will be ignored. |
Expand Down Expand Up @@ -68,7 +67,6 @@ jobs:
port: ${{ secrets.FTP_PORT }}
local_path: './static/*'
remote_path: '/var/www/app'
sftp_only: true
password: ${{ secrets.FTP_PASSWORD }}
```
Expand Down

0 comments on commit 11fbfc6

Please sign in to comment.