Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NathanJang opened this issue Aug 14, 2017 · 0 comments
Open

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

NathanJang opened this issue Aug 14, 2017 · 0 comments

Comments

@NathanJang
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant