ahmed-bhs/hexagonal-maker-bundle
This guide explains how to set up GitHub Pages for this Jekyll documentation site.
The GitHub Actions workflow needs specific permissions to deploy to GitHub Pages.
The repository already includes:
.github/workflows/docs.yml - GitHub Actions workflowdocs/_config.yml - Jekyll configurationdocs/Gemfile - Ruby dependenciesPush changes to the main branch:
git add .
git commit -m "docs: setup Jekyll with Just the Docs theme"
git push origin main
The GitHub Actions workflow will automatically:
Once deployed, your documentation will be available at:
https://[username].github.io/[repository-name]/
For this repository:
https://ahmed-bhs.github.io/hexagonal-maker-bundle/
The GitHub Actions workflow (.github/workflows/docs.yml) is triggered:
main branch that modifies files in docs/Error: Error: HttpError: Resource not accessible by integration
Solution: Enable workflow permissions (see Step 2 above)
The workflow uses:
If you get dependency errors, check docs/Gemfile is up to date.
The _config.yml has:
baseurl: "/hexagonal-maker-bundle"
url: "https://ahmed-bhs.github.io"
Make sure these match your repository settings.
docs/main branchSee docs/README.md for local development instructions.
.md file in appropriate directory---
layout: default
title: Page Title
parent: Parent Page
nav_order: 1
---
_config.ymlMain Jekyll configuration:
GemfileRuby dependencies:
github-pages gemjust-the-docs theme.github/workflows/docs.ymlGitHub Actions workflow for automated deployment.
For issues with:
How can I help you explore Laravel packages today?