Prepare settings for new deployment
This commit is contained in:
parent
249758f658
commit
54609cabcf
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ require 'mina/rails'
|
||||||
require 'mina/git'
|
require 'mina/git'
|
||||||
|
|
||||||
set :domain, 'proxy-opensuse.suse.de'
|
set :domain, 'proxy-opensuse.suse.de'
|
||||||
set :port, 2214
|
set :port, 2252
|
||||||
set :user, 'osem'
|
set :user, 'osem'
|
||||||
set :deploy_to, '/srv/www/vhosts/opensuse.org/events'
|
set :deploy_to, '/srv/www/vhosts/opensuse.org/events'
|
||||||
set :repository, 'https://github.com/openSUSE/osem.git'
|
set :repository, 'https://github.com/openSUSE/osem.git'
|
||||||
|
|
@ -42,7 +42,7 @@ task deploy: :environment do
|
||||||
#invoke :notify_errbit
|
#invoke :notify_errbit
|
||||||
|
|
||||||
to :launch do
|
to :launch do
|
||||||
queue "sudo /etc/init.d/apache2 restart"
|
queue "sudo /usr/bin/systemctl restart apache2"
|
||||||
queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job start"
|
queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job start"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue