Skip to content

Exclude files to be deleted when files are copied #107

@D3vil0p3r

Description

@D3vil0p3r

Thank you for your project.

I'm using it for copying compiled documentation files (from .md to .html by Astro Starlight) from a source repository to a public one.

This public one should contain not only the built source files but also a CNAME file created by GitHub page when I set the subdomain docs.mysite.org in the settings of the public repo.

The problem is that, when the files of the source-directory are copied to the target-directory, all the files in the target-directory seem to be deleted before the copy because my CNAME file disappears and I need to create a new one manually. Is there a way to add an argument like exclude-file to exclude one or more files in a specific path from deletion?

Or just make the copy action to not delete the already stored files in the target directory, just overwrite the ones with the same name (could be better).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions