Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlacan committed Feb 5, 2024
1 parent 677f9d7 commit 6c50688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down

0 comments on commit 6c50688

Please sign in to comment.