Motivation
To test PRs on the upstream of a Hugo theme by setting up a testing branch.
Goal
To deploy a forked GitHub repo for a Hugo theme with exampleSite
to GitHub
Pages using GitHub Actions.
The whole article is based on my fork of Hugo Future Imperfect Slim.
References
- GitHub Actions for Hugo
- A Stack Overflow question showing
pwd
in GitHub Actions - A Hugo Discourse post about testing
exampleSite
Difficulties
I had failed for about ten times before I got the job done.
[Read More]