Journal - 2021.09.16

A few days ago I changed the CSS of my Tip Calculator [1] to use BEM [2]; it's now a little more organized and easy to understand the code semantics.

When I was ready to deploy the updated code to the live site on GitHub Pages, I encountered the following permission error (I'm using gh-pages [3] npm package):

[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I recently changed my dev environment and now I'm using Node/Git on Windows (moving from WSL2); that was the reason for the error. Looking up the Internet for a solution, I found it here [4].


English is not my main language, but I'm trying to improve on it. If you find any errors, please let me know: @arthurvmdantas.

[1] - https://arthurvmdantas.work/journal/journal-2021-08-31/
[2] - https://en.bem.info/methodology/
[3] - https://www.npmjs.com/package/gh-pages?activeTab=readme
[4] - https://superuser.com/questions/1435950/git-gh-pages-deployment-permissions-error-permission-denied-publickey-fatal