-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rb
More file actions
33 lines (28 loc) · 793 Bytes
/
config.rb
File metadata and controls
33 lines (28 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
set :haml, { :attr_wrapper => '"' }
configure :development do
activate :livereload
end
configure :build do
# Minify CSS on build
# activate :minify_css
# Minify Javascript on build
# activate :minify_javascript
end
# Deployment config (middleman-deploy)
case ENV['TARGET'].to_s.downcase
when 'production'
activate :deploy do |deploy|
deploy.deploy_method = :rsync
deploy.host = 'humorsys@humanoriented.com'
deploy.path = 'humanoriented.com'
end
else
activate :deploy do |deploy|
deploy.deploy_method = :rsync
deploy.host = 'humorsys@staging.humanoriented.com'
deploy.path = 'staging.humanoriented.com'
end
end