Can someone point me to the instructions for setting up a custom deploy for GitHub pages? (My Google skills are failing me.)
I have a site that needs only one modification when I deploy it on GitHub Pages: I want to replace all occurrences of foo.com
with bar.com
. I know that the first two steps are
- Add the .nojekyll file
- Configure GitHub Actions to check out the repo then run a simple search/replace script on all the .html files.
At this point, do I need to do anything else? Will adding my own, custom .github directory shadow/overwrite any necessary actions for deploying the web site?
(For those who are curious: I know that I can write a simple Jekyll plug-in to do this; but, I'd rather not add the Jekyl front matter to my files. Plus, Jekyll seems like overkill for the one, simple transformation I need.)