Skip to content

Commit

Permalink
deploying to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Jun 2, 2014
1 parent 72390bd commit 19ecbfc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ gem "middleman", "~>3.2.0"
# Live-reloading plugin
gem "middleman-livereload", "~> 3.1.0"

# deploy to github pages
gem "middleman-deploy"

# For faster file watcher updates on Windows:
gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ GEM
rack-test (~> 0.6.1)
thor (>= 0.15.2, < 2.0)
tilt (~> 1.3.6)
middleman-deploy (0.2.4)
middleman-core (>= 3.0.0)
net-sftp
ptools
middleman-livereload (3.1.0)
em-websocket (>= 0.2.0)
middleman-core (>= 3.0.2)
Expand All @@ -61,6 +65,10 @@ GEM
sprockets-helpers (~> 1.0.0)
sprockets-sass (~> 1.0.0)
multi_json (1.8.2)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
ptools (1.2.4)
rack (1.5.2)
rack-livereload (0.3.15)
rack
Expand Down Expand Up @@ -93,5 +101,6 @@ PLATFORMS

DEPENDENCIES
middleman (~> 3.2.0)
middleman-deploy
middleman-livereload (~> 3.1.0)
wdm (~> 0.1.0)
5 changes: 5 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,8 @@
# Or use a different image path
# set :http_prefix, "/Content/images/"
end

activate :deploy do |deploy|
deploy.method = :git
deploy.build_before = true # default: false
end

0 comments on commit 19ecbfc

Please sign in to comment.