angular-cli-ghpages icon indicating copy to clipboard operation
angular-cli-ghpages copied to clipboard

Deployment command deletes files inside .idea folder

Open bharathkumarchowdary opened this issue 3 years ago • 2 comments

When using angular-cli-ghpages for deploying to GitHub Pages with this command npx angular-cli-ghpages --dir=dist/engg-calc/ --branch=gh-pages the following files from .idea folder which is a configuration storage folder for IntelliJ IDEA IDEs like WebStorm etc, are getting deleted 0915E484-C127-4A23-84B2-F906E958230C_4_5005_c

bharathkumarchowdary avatar Jan 23 '22 06:01 bharathkumarchowdary

There is a .gitignore file in that folder, are you sure that the folder isn't ignored by configuration?

JohannesHoppe avatar Jan 23 '22 08:01 JohannesHoppe

I was running this command for deploying while the gh-pages branch was checked out npx angular-cli-ghpages --dir=dist/engg-calc/ --branch=gh-pages

realised if I run that command while on any other branch(master), the deletion of .idea folder files is not happening. Those files were untouched

I'm sure that if I run the above command while being on gh-pages branch, it will definitely delete all source code and also files of .idea

bharathkumarchowdary avatar Jan 23 '22 13:01 bharathkumarchowdary

I have no idea how to reproduce this issue. Feel free to reopen this issue if you have a demo to reproduce the problem.

JohannesHoppe avatar Nov 22 '22 09:11 JohannesHoppe