File tree 1 file changed +2
-1
lines changed 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ path = '/var/www/bridgepdx_wordpress/wp-content/themes/osbp_wordpress_theme_v3/'
5
5
6
6
# Derived settings
7
7
remote = "#{ user } @#{ host } :#{ path } "
8
+ # rsync: (v)erbose e(x)clude-other-devices (r)ecursive preserve-sym(l)inks preserve-(p)ermissions preserve-(D)evices
8
9
rsync = 'rsync --checksum -vxrlpD --progress --exclude=.* --exclude=*~ --exclude=*.swp --exclude=Rakefile --exclude=my_common_styles_url.txt* --exclude=shared_fragments'
9
10
10
11
desc "Show help"
@@ -19,8 +20,8 @@ task :default => :help
19
20
20
21
desc "Deploys common style files using rsync"
21
22
task :deploy do
22
- # rsync: (v)erbose e(x)clude-other-devices (r)ecursive preserve-sym(l)inks preserve-(p)ermissions preserve-(D)evices
23
23
sh "#{ rsync } . #{ remote } "
24
+ sh "ssh #{ user } @#{ host } 'chgrp -R #{ user } #{ path } ; chmod -R ug+rwX #{ path } '"
24
25
end
25
26
26
27
desc "Copy deployed files from remote into this directory -- will overwrite your files here"
You can’t perform that action at this time.
0 commit comments