Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

LekoArts/gatsby-source-circleci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-source-circleci

Source plugin for CircleCI's API.

Please Note: This plugin was initially created to deliver data for my dashboard and hence only queries the user and projects. If you need more functionality, I'd be happy to review your PR and merge it into this plugin!

Install

npm install --save gatsby-source-circleci

How to use

Prerequisites

Go to Account dashboard and create a new API token.

Save the API key in an environment file like:

CIRCLECI_KEY=your-api-token-here

gatsby-config

Add the plugin and define the API key.

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-circleci',
      options: {
        apiKey: process.env.CIRCLECI_KEY,
      }
    }
  ]
}

Releases

No releases published

Packages

No packages published