It looks like you have your app.css committed in git. If you're going to build those (dynamic) files on production as part of your deployment process, they shouldn't be included in your repo.
Best practice deployment? To gulp or not to gulp?
Hey there! I'm just a little bit confused because I stumbled upon the following thread: https://laracasts.com/discuss/channels/forge/forge-fails-every-time
I'm having issues when I deploy on my server via forge:
"error: Your local changes to the following files would be overwritten by merge: public/css/app.css public/css/app.css.map Please, commit your changes or stash them before you can merge. Aborting"
So I suppose this is because I run gulp in my deploy script. But this is a bad practice?
Looking forward to hear from you! Many thanks and sorry if the question is too dumb!
Well, the actual build files should be included, not the rendered assets. So public/css/app.css should be ignored by git and any others that get generated by grunt.
Please or to participate in this conversation.