mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Move generate + deploy to separate task
This commit is contained in:
7
Rakefile
7
Rakefile
@ -200,7 +200,12 @@ end
|
||||
|
||||
desc "Default deploy task"
|
||||
task :deploy do
|
||||
[:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
|
||||
[:copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
|
||||
end
|
||||
|
||||
desc "Generate website and deploy"
|
||||
task :gen_deploy do
|
||||
[:generate, :deploy].each { |t| Rake::Task[t].execute }
|
||||
end
|
||||
|
||||
desc "copy dot files for deployment"
|
||||
|
||||
Reference in New Issue
Block a user