Update docs

This commit is contained in:
Olivier Lacan 2024-02-04 21:26:24 -08:00
parent 677f9d72a8
commit 6c506883d7
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ This repository generates https://keepachangelog.com/.
- `bin/rake clean` can clean a corrupted `build/` directory in
case `publish` failed
- `bin/rake publish` builds and pushes to the `gh-pages` branch on GitHub so
- `bin/rake deploy` cleans, builds and pushes to the `gh-pages` branch on GitHub so
the site is deployed to keepachangelog.com
### Translations

View File

@ -6,16 +6,16 @@ task :serve do
system("bundle exec middleman serve")
end
desc "Build and publish to GitHub Pages"
desc "Clean, build and publish to GitHub Pages"
task deploy: [:clean, :publish]
desc "Clean build directory"
desc "Build middleman static site"
task :build do
puts "Build site into build/ directory, print any errors"
system("bundle exec middleman build --verbose")
end
desc "Detele the build directory"
desc "Delete build directory"
task :clean do
puts "Cleaning build/ directory"
system("rm -rf build/")