Tag: Ci-Cd
No posts match your search.
-
Simple CI/CD for static sites
For a static site on GitHub Pages, you can avoid committing build artifacts and let CI do the work.
A single GitHub Actions workflow can checkout the repo, install Hugo, run
hugo --minify, and deploy the contents ofpublic/to the Pages branch. TheGITHUB_TOKENis enough for push access when the workflow is in the same repo.