Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 700 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 700 Bytes

RoutED Website

Installation

A .env file containing the following values must be added to the root directory:

  • CONTENTFUL_SPACE_ID
  • CONTENTFUL_ACCESS_TOKEN

These values enable the gatsby-source-contentful plugin to access the page data stored on Contentful. The same keys and values need to be provided as secrets in the GitHub repo.

Publishing to GitHub Pages

The publish.yml GitHub Action is set up to build the Gatsby site on every commit to main, and then push the static files to GitHub Pages. This action is also triggered whenever a change to the Contentful site is published.