This section gives you choices over a GitHub Action that will add an output dirctory to gh-pages so you can serve your site on GitHub Pages site.

These generic flows work for anything with an output directory, including:

  • Static sites - using Jekyll (with custom gems), Hugo, Hexo, Gatsby, Next.js (Node.js), MkDocs (Python), etc.
  • Single-Page Applications - anything in Node.js or Yarn that creates a build such as React or Vue.js

See Tokens guide on use of tokens.