📝 Edit page
➕ Add page
Deploy to GitHub Pages
How to use an action to build and deploy a site to GitHub Pages
Topics
Pages
-
GitHub Pages Deploy action by JamesIves
Deploy your static output directory on the GH Pages branch
-
GitHub Pages action by Peace Iris
A generic action which builds a GH Pages and works great with Jekyll and React/Vue JS apps
-
Low-level
How to save an output build directory for use on GH Pages, using steps without Actions
- Publish directly
Content
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.
Related
- Build and deploy - Jekyll section.
- GH Pages Deploy - Node page.
- MkDocs section.