Skip to content

Commit

Permalink
Merge pull request #6 from mirumee/add-desktop-design-rebased
Browse files Browse the repository at this point in the history
Add desktop design rebased
  • Loading branch information
rafalp authored Jul 18, 2019
2 parents edc6d0e + 58136de commit ed39fb9
Show file tree
Hide file tree
Showing 63 changed files with 1,924 additions and 843 deletions.
32 changes: 31 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,39 @@ jobs:
source ~/sdk/bin/activate
pip install awscli --upgrade
aws s3 sync $WEBSITE_BUILD_DIR $AWS_S3_STAGE_BUCKET --acl public-read
deploy-prod:
docker:
- image: circleci/python:3.7.3-stretch
working_directory: /tmp/prod-deployment
steps:
- checkout
- run:
name: Build prod
command: |
curl -sL https://deb.nodesource.com/setup_11.x | sudo bash -
sudo apt-get install -y nodejs
npm install
npm run build
- run:
name: Deploy to S3
command: |
virtualenv ~/sdk
source ~/sdk/bin/activate
pip install awscli --upgrade
aws s3 sync $WEBSITE_BUILD_DIR $AWS_S3_BUCKET --acl public-read
aws cloudfront create-invalidation --distribution-id $AWS_CF_DISTRIBUTION --paths "/*"
workflows:
version: 2
stage-deployment:
jobs:
- deploy-stage
- deploy-stage
prod-deployment:
jobs:
- deploy-prod:
filters:
tags:
only: /.*/
branches:
ignore: /.*/
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# graphql-wroclaw-website
# GrapgQL Wrocław Website

GraphQL Wrocław Meetup
### Development:

`$ npm run server`

# Updating stage
### Build:

`$ npm run build`

### Environment:

Build on node v12.1.0

### Updating stage

Latest commit on repo is deployed automatically to the stage.
16 changes: 16 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
pathPrefix: "/graphql-wroclaw-website",
siteMetadata: {
title: `GraphQL Wroclaw`,
description: `Events about GraphQL`,
Expand All @@ -13,9 +14,16 @@ module.exports = {
path: `${__dirname}/src/images`,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/data/`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-styled-components`,
"gatsby-transformer-json",
{
resolve: "gatsby-plugin-react-svg",
options: {
Expand All @@ -24,5 +32,13 @@ module.exports = {
},
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-10159761-24",
head: true,
anonymize: true,
},
},
],
}
Loading

0 comments on commit ed39fb9

Please sign in to comment.