Update docs
This commit is contained in:
parent
677f9d72a8
commit
6c506883d7
|
@ -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
|
||||
|
|
6
Rakefile
6
Rakefile
|
@ -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/")
|
||||
|
|
Loading…
Reference in New Issue