Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Move deploy config into environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechesser committed Mar 29, 2014
1 parent b5a0dd1 commit 4fff372
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
**/.*
node_modules/
s3_website.yml
!.gitignore
1 change: 1 addition & 0 deletions Gemfile
@@ -1,5 +1,6 @@
source 'https://rubygems.org'
ruby '2.0.0'

gem 'dotenv'
gem 'jekyll'
gem 's3_website'
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -15,6 +15,7 @@ GEM
configure-s3-website (1.5.2)
deep_merge (= 1.0.0)
deep_merge (1.0.0)
dotenv (0.10.0)
erubis (2.7.0)
fast-stemmer (1.0.2)
ffi (1.9.3)
Expand Down Expand Up @@ -77,5 +78,6 @@ PLATFORMS
ruby

DEPENDENCIES
dotenv
jekyll
s3_website
2 changes: 1 addition & 1 deletion GruntFile.js
Expand Up @@ -188,7 +188,7 @@ module.exports = function(grunt) {
command: 'jekyll serve'
},
deploy: {
command: 's3_website push --headless'
command: 'dotenv s3_website push --headless'
}
},

Expand Down
7 changes: 7 additions & 0 deletions s3_website.yml
@@ -0,0 +1,7 @@
---
s3_id: <%= ENV['S3_ID'] %>
s3_secret: <%= ENV['S3_SECRET'] %>
s3_bucket: montrealcollective.com
cloudfront_distribution_id: ELDWNK1T2E13P
gzip: true
max_age: 3600

0 comments on commit 4fff372

Please sign in to comment.