Skip to content

Deploying a second time does not remove previous build's files #57

@NathanJang

Description

@NathanJang

When I run github-pages:commit, and there already exists previously-deployed files on the gh-pages branch, they are not removed. Is this a design choice? I expected this to wipe the files and rebuild completely. I've run this a few times and the duplicate files in https://github.com/NathanJang/nathanjang.github.io/tree/9c2d576f0c301fae02bb83fff8613a9690c4ea09/assets is what happens.

Maybe it we just to configure the cp command in more detail, maybe on this line?

return runCommand('cp -R dist/* .', execOptions);

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions