Paid advertising can work; however, the problem might be CTR, keywords, or search intent. Simply ranking on page 1 does not mean that you will get traffic if the number of visitors is not significant or the snippets are not compelling.
In the case of GitHub Pages, the most important steps are to...