Initial commit
This commit is contained in:
11
rakelib/deploy.rake
Normal file
11
rakelib/deploy.rake
Normal file
@@ -0,0 +1,11 @@
|
||||
###############################################################################
|
||||
# TASK: deploy
|
||||
#
|
||||
# shortcut to deploy jekyll site using the production environment
|
||||
###############################################################################
|
||||
|
||||
desc 'Build site with production env'
|
||||
task :deploy do
|
||||
ENV['JEKYLL_ENV'] = 'production'
|
||||
system('bundle', 'exec', 'jekyll', 'build')
|
||||
end
|
||||
Reference in New Issue
Block a user