Update Envoy.blade.php

feature/fix_generate_pass
Marat 8 years ago
parent addab8bf41
commit b01a716a5e
  1. 8
      Envoy.blade.php

@ -10,6 +10,7 @@
@story('deploy', ['on' => 'localhost'])
clone_repository
run_tests
update_symlinks
deployment_option_cleanup
@endstory
@ -24,6 +25,13 @@ echo '{{ $new_release_dir }}'
@endif
@endtask
@task('run_tests', ['on' => 'localhost'])
echo '>> Запускаем тесты'
@if ($branch)
cd {{ $new_release_dir }} && source /www/servers/python-server/bin/activate && python manage.py test
@endif
@endtask
@task('update_symlinks', ['on' => 'localhost'])
@if ($branch)
echo '>> Создаем симлинк на папку текущего релиза'

Loading…
Cancel
Save