Uh oh!
There was an error while loading. Please reload this page.
fix(.gitignore): remove dist of docs - #19
Conversation
avivcarmis
commented
Jan 4, 2021
@dorilahav this one is actually needed, it what serves this file needed for Chava's website. |
dorilahav
commented
Jan 4, 2021
Pushing any kind of artifacts to git is a bad practice for a number of reasons:
In order to prevent these problems, what people usually use is some sort of a CICD (I will be talking mostly about the CI part) which is in charge of building your code whenever you push your code (with your configured rules). |
avivcarmis
commented
Jan 4, 2021
Just to make sure we're on the same page - are you familiar with GitHub Pages? If not, quickly read about it in general and this section specifically, in step 4 we've chosen |
dorilahav
commented
Jan 4, 2021
You could use some other service like Vercel but if you use GitHub Pages you could also make it build your website instead of including the artifacts of your website on the repository. I would recommend using Vercel anyways as it takes care of everything for you automatically. |
avivcarmis
commented
Jan 4, 2021
Hmm...I'll look into using GitHub actions to build artifacts (assuming this was your intention). |
Remove docs/dist folder, no need for that on git.