Build the blog site for the staging environment:
```
--- a/tasks/build.rake
+++ b/tasks/build.rake
@@ -36,5 +36,5 @@ task :build do
sh 'rm -rf *'
end
- sh 'hugo'
+ sh 'hugo -e staging -v'
end
```
This commit is contained in:
parent
71876190b9
commit
c06b55ae44
@ -36,5 +36,5 @@ task :build do
|
||||
sh 'rm -rf *'
|
||||
end
|
||||
|
||||
sh 'hugo'
|
||||
sh 'hugo -e staging -v'
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user