Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Example Gatsby website using GitLab Pages.
Learn more about GitLab Pages at https://pages.gitlab.io and the official documentation https://docs.gitlab.com/ce/user/project/pages/.
Table of Contents generated with DocToc
GitLab CI
This project's static Pages are built by GitLab CI, following the steps
defined in .gitlab-ci.yml:
image: node
pages:
script:
- npm install
- npm install gatsby-cli
- node_modules/.bin/gatsby build --prefix-paths
artifacts:
paths:
- public
cache:
paths:
- node_modules
only:
- master
Building locally
To work locally with this project, you'll have to follow the steps below:
- Fork, clone or download this project
- Install Gatsby CLI
- Generate and preview the website with hot-reloading:
gatsby develop - Add content
Read more at Gatsby's documentation.
Did you fork this project?
If you forked this project for your own use, please go to your project's Settings and remove the forking relationship, which won't be necessary unless you want to contribute back to the upstream project.
Forked from https://github.com/gatsbyjs/gatsby-starter-default
Personal projects
View all- Loading
Loading
Info
Zurich, Switzerland
5:16 PM
Member since June 20, 2017