Change group
This commit is contained in:
parent
282ad91a6e
commit
a4ac9ff102
1 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
server 'partynest.libertarian-party.com', roles: %w[web app db]
|
server 'partynest.libertarian-party.com', roles: %w[web app db]
|
||||||
|
|
||||||
|
namespace :deploy do
|
||||||
|
after :finished, :change_group
|
||||||
|
|
||||||
|
desc 'Change group'
|
||||||
|
task :change_group do
|
||||||
|
on roles(:all) do
|
||||||
|
execute :chown, '-R', ':partynest', '/opt/partynest'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Reference in a new issue