I was just doing time in school, no thing too major. While I was at it, I fixed of a bunch of bugs… I tried to deploy remotely with ‘hexo d’, but got hit with a ‘Spawn Error’. I tried deleting ‘.deploy_git’ and rolling back like they suggested online, but proved ineffective. Turned out the config file in the root directory was the issue. The ‘Deploy’ repo was using ‘https’ method, but after switching to ‘SSH’, everything worked fine.

But then my custom domain stopped working… Checked the GitHub repo and saw that the ‘CNAME’ file had vanished. Domain control panel looked normal though. Added a custom domain in the repo settings, and voila. (Turns out I had added an ‘A record’ earlier - go figure how GitHub missed it.)

⬆︎TOP