mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-27 07:44:09 +02:00
Always clean before publish
This commit is contained in:
parent
bee0534514
commit
de242aa6b1
4
Rakefile
4
Rakefile
@ -7,7 +7,7 @@ task :serve do
|
|||||||
end
|
end
|
||||||
|
|
||||||
desc "Build and publish to GitHub Pages"
|
desc "Build and publish to GitHub Pages"
|
||||||
task :deploy => :publish
|
task deploy: [:clean, :publish]
|
||||||
|
|
||||||
desc "Clean build directory"
|
desc "Clean build directory"
|
||||||
task :build do
|
task :build do
|
||||||
@ -19,4 +19,4 @@ desc "Detele the build directory"
|
|||||||
task :clean do
|
task :clean do
|
||||||
puts "Cleaning build/ directory"
|
puts "Cleaning build/ directory"
|
||||||
system("rm -rf build/")
|
system("rm -rf build/")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user