diff --git a/Rakefile b/Rakefile index 9ffe811..058d5d9 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ task :serve do end desc "Build and publish to GitHub Pages" -task :deploy => :publish +task deploy: [:clean, :publish] desc "Clean build directory" task :build do @@ -19,4 +19,4 @@ desc "Detele the build directory" task :clean do puts "Cleaning build/ directory" system("rm -rf build/") -end \ No newline at end of file +end