File tree Expand file tree Collapse file tree 5 files changed +10
-28
lines changed Expand file tree Collapse file tree 5 files changed +10
-28
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ gem 'sass', '~> 3.4.0'
5
5
gem 'jquery-middleman' , require : false
6
6
gem 'zurb-foundation' , '~> 4.3.2' , require : false
7
7
gem 'middleman' , '~> 3.4.1'
8
- gem 'middleman-deploy' , '~> 1.0 '
8
+ gem 'middleman-gh-pages '
9
9
gem 'builder'
10
10
gem 'sitemap_generator'
11
11
gem 'coffee-script'
Original file line number Diff line number Diff line change 76
76
rack (>= 1.4.5 , < 2.0 )
77
77
thor (>= 0.15.2 , < 2.0 )
78
78
tilt (~> 1.4.1 , < 2.0 )
79
- middleman-deploy (1.0.0 )
80
- middleman-core (>= 3.2 )
81
- net-sftp
82
- ptools
79
+ middleman-gh-pages (0.3.1 )
80
+ rake (> 0.9.3 )
83
81
middleman-sprockets (3.5.0 )
84
82
middleman-core (>= 3.3 )
85
83
sprockets (~> 2.12.1 )
91
89
mini_portile2 (2.3.0 )
92
90
minitest (5.11.3 )
93
91
multi_json (1.13.1 )
94
- net-sftp (2.1.2 )
95
- net-ssh (>= 2.6.5 )
96
- net-ssh (4.2.0 )
97
92
nokogiri (1.8.2 )
98
93
mini_portile2 (~> 2.3.0 )
99
94
padrino-helpers (0.12.8.1 )
102
97
tilt (~> 1.4.1 )
103
98
padrino-support (0.12.8.1 )
104
99
activesupport (>= 3.1 )
105
- ptools (1.3.5 )
106
100
puma (1.6.3 )
107
101
rack (~> 1.2 )
108
102
pygments.rb (1.2.1 )
@@ -156,7 +150,7 @@ DEPENDENCIES
156
150
icalendar
157
151
jquery-middleman
158
152
middleman (~> 3.4.1 )
159
- middleman-deploy ( ~> 1.0 )
153
+ middleman-gh-pages
160
154
nokogiri
161
155
puma (~> 1.6.3 )
162
156
pygments.rb
Original file line number Diff line number Diff line change @@ -49,4 +49,8 @@ You will see the generated HTML & CSS by navigating to <http://localhost:4567/>.
49
49
Deployment
50
50
----------
51
51
52
- Deployment happens automatically upon every push to the ` master ` branch via GitHub Pages.
52
+ To the deploy the page, run the following rake commands, which will push the
53
+ HTML build onto the ` gh-pages ` branch:
54
+
55
+ bundle exec rake build
56
+ bundle exec rake publish
Original file line number Diff line number Diff line change 1
1
require 'bundler/setup'
2
2
require 'psych'
3
3
require 'yaml'
4
+ require 'middleman-gh-pages'
4
5
5
6
namespace :assets do
6
7
task :precompile do
Original file line number Diff line number Diff line change 62
62
63
63
set :images_dir , 'images'
64
64
65
- # Github Pages
66
- activate :deploy do |deploy |
67
- deploy . method = :git
68
- # remote is optional (default is "origin")
69
- # run `git remote -v` to see a list of possible remotes
70
- deploy . remote = "origin"
71
-
72
- # branch is optional (default is "gh-pages")
73
- # run `git branch -a` to see a list of possible branches
74
- deploy . branch = "gh-pages"
75
-
76
- # strategy is optional (default is :force_push)
77
- deploy . strategy = :force_push
78
-
79
- deploy . build_before = true
80
- end
81
-
82
65
# Build-specific configuration
83
66
configure :build do
84
67
# For example, change the Compass output style for deployment
You can’t perform that action at this time.
0 commit comments