Skip to content

Commit d8588d3

Browse files
committed
Update nginx deploy task
1 parent cc166a9 commit d8588d3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ end
2828

2929
desc "Deploy Nginx config changes"
3030
task :nginx do
31-
sh "tar -C conf/ -zcf - . | ssh deploy@jruby.org 'cd /etc/nginx/servers && sudo tar zxf - && sudo /etc/init.d/nginx reload'"
31+
sh "tar -C conf/nginx -zcf - . | ssh deploy@jruby.org 'cd /etc/nginx/servers && sudo tar zxf - && sudo /etc/init.d/nginx reload'"
3232
end
3333

3434
task :default do
File renamed without changes.

0 commit comments

Comments
 (0)