mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 05:01:41 +00:00
hacer el deploy en el entorno correspondiente
This commit is contained in:
parent
6ab8ff0f06
commit
0871291d2e
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class DeployLocal < Deploy
|
|||
{
|
||||
'HOME' => home_dir,
|
||||
'PATH' => paths.join(':'),
|
||||
'JEKYLL_ENV' => 'production'
|
||||
'JEKYLL_ENV' => Rails.env
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ class DeployZipTest < ActiveSupport::TestCase
|
|||
|
||||
assert deploy_local.deploy
|
||||
assert File.directory?(deploy_local.destination)
|
||||
assert File.exist?(File.join(deploy_local.destination, 'robots.txt'))
|
||||
assert File.exist?(File.join(deploy_local.destination, 'index.html'))
|
||||
assert_equal 3, deploy_local.build_stats.count
|
||||
|
||||
assert deploy_local.build_stats.map(&:bytes).compact.inject(:+).positive?
|
||||
|
|
Loading…
Reference in a new issue