Skip to content

Commit

Permalink
configure for gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
walexnelson committed Dec 13, 2017
1 parent 4dca0b0 commit 53cb168
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
image: node:latest

# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/

pages:
script:
- yarn install
- ./node_modules/.bin/gatsby build
artifacts:
paths:
- public
only:
- master
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
# gatsby-starter-hello-world
Starter with the bare essentials needed for a [Gatsby](https://www.gatsbyjs.org/) site

Install this starter (assuming Gatsby is installed) by running from your CLI:
```
gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-hello-world
```

## Running in development
`gatsby develop`
# built with GatsbyJS
3 changes: 1 addition & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
plugins: [
],
plugins: [],
};

0 comments on commit 53cb168

Please sign in to comment.