Update .gitignore file and correct publish path.