Skip to content
Discussion options

You must be logged in to vote

Exactly, GitHub Pages has two publishing methods:

  1. From a branch (traditionally gh-pages), where the generated HTML files are stored in that branch.
  2. From a GitHub Actions workflow, where the documentation is generated during the workflow and then deployed directly to GitHub Pages. With this approach, you don't have to maintain a gh-pages branch yourself—the workflow builds the documentation and publishes it for you.

Since you're new to GitHub, I'd actually recommend starting with the first option because it's easier to understand. Once you're comfortable with GitHub Actions, you can automate the entire process.

And yes, you can absolutely make this part of your release process. For examp…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Fran-B
Comment options

Answer selected by Fran-B
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
3 participants