Skip to content

clean-exclude also prevents files from syncing #672

Open
@kjg

Description

when I specify directories to clean-exclude, it is also not copying new files matching this pattern.

Am I misunderstanding what clean-exclude is for? I would expect it to still transfer new files added to the source, just not delete files from the destination that are no longer in the source. Similar to clean: false, but only in certain directories

It looks like this is due to clean-exclude passing these as --exclude to rsync which does make rsync completely ignore them.

Metadata

Assignees

No one assigned

    Labels

    feature request ✨New feature or requesthelp wanted ❕Extra attention is neededversion 4Issues related to version 4 of this action.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions