New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

gatsby-plugin-github-pages

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-github-pages

Gatsby plugin that deploys to Github Pages post-build.


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created

Gatsby Plugin GitHub Pages

A Gatsby plugin that deploys your build to Github Pages.

Install

$ npm install gatsby-plugin-github-pages

Usage

In your gatsby-config.js file:

module.exports = {
  plugins: [
    /* ... */
    {
      resolve: 'gatsby-plugin-github-pages'
      options: {
        customDomain: 'mycustomdomain.com', // optional
        publishOptions: {                   // defaults
          src: '**/*',
          branch: 'gh-pages',
          dest: '.',
          repo: 'https://example.com/other/repo.git'
          // ...
        }
      }
    }
  ]
}

Publish Options

The plugin uses gh-pages internally, publish options can be found in greater detail here.

FAQs

Package last updated on 25 Nov 2017

Did you know?

Socket

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.

Install

Related posts