From de242aa6b1057c837597f6b0edb3dc568e204b3e Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Sun, 4 Feb 2024 21:17:13 -0800 Subject: [PATCH] Always clean before publish --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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