
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
gatsby-plugin-github-pages
Advanced tools
A Gatsby plugin that deploys your public folder to Github Pages on build.
With no configuration the destination is root to a gh-pages
branch on the current repository.
The branch, directory, and repository my all be changed via the publishOptions
config.
The Gatsby site in the example directory is hosted at https://rongierlach.github.io/gatsby-plugin-github-pages.
$ npm install gatsby-plugin-github-pages
Place the plugin last in your plugins array.
If you are using a custom domain for your page you must specify it in the gatsby-config.js
file like so:
module.exports = {
plugins: [
/* other plugins */
{
resolve: 'gatsby-plugin-github-pages'
options: {
customDomain: 'mycustomdomain.com'
publishOptions: {
/* ... */
}
}
}
]
}
You must build with the prefix-paths flag like so:
$ gatsby build --prefix-paths
You must also specify a pathPrefix
in your gatsby-config.js
file:
module.exports = {
pathPrefix: '/name-of-your-repo',
plugins: [
/* other plugins */
{
resolve: 'gatsby-plugin-github-pages'
options: {
publishOptions: {
/* ... */
}
}
}
]
}
The plugin uses gh-pages
internally, publish options can be found in greater detail here.
FAQs
Gatsby plugin that deploys to Github Pages post-build.
The npm package gatsby-plugin-github-pages receives a total of 4 weekly downloads. As such, gatsby-plugin-github-pages popularity was classified as not popular.
We found that gatsby-plugin-github-pages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.