1
0
Fork 0

Change group

This commit is contained in:
Alex Kotov 2019-07-12 22:42:04 +05:00
parent 282ad91a6e
commit a4ac9ff102
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -1,3 +1,14 @@
# frozen_string_literal: true
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