milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
62 stars 14 forks source link

Exclude specific files/folders #9

Closed dfsramos closed 2 years ago

dfsramos commented 2 years ago

Hello

Is there any way to exclude specific files/folders from the sync process?

Thanks in advance!

milanmk commented 2 years ago

Add sync-delta-excludes input which allows you to exclude files from delta sync.

For full sync, you can use additional lftp parameters for mirror command.