Skip to content

Commit ceb102d

Browse files
committed
Build the site whilst backporting
1 parent 997a159 commit ceb102d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

script/enterprise-cutter

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ setup
3333
temp_dir = Dir.mktmpdir
3434
begin
3535
%x(git checkout #{SHA})
36-
`cp -r * #{temp_dir}`
36+
puts `bundle install`
37+
puts `bundle exec nanoc compile`
38+
`cp -r output/ #{temp_dir}`
3739
`git checkout #{BRANCH_NAME}`
3840
FileUtils.mkdir_p("enterprise/#{VERSION}")
3941
`cp -r #{temp_dir}/* enterprise/#{VERSION}`
@@ -48,4 +50,4 @@ ensure
4850
FileUtils.remove_entry_secure temp_dir
4951
end
5052

51-
puts "\n\nOkay! Feel free to `git push #{BRANCH_NAME}` if you like."
53+
puts "\n\nOkay! Feel free to `git push #{BRANCH_NAME}` if you like."

0 commit comments

Comments
 (0)