Skip to content

Commit ff99ce6

Browse files
committed
update assets deploy script
1 parent 5170ba4 commit ff99ce6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

assets-deploy.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ then
1919
fi
2020

2121
rm -rf ./web/log
22-
rsync --delete --rsh="sshpass -p $remote_password ssh -l root" -a ./web/public/javascripts "$1:/root/chaipcr/web/public"
23-
rsync --delete --rsh="sshpass -p $remote_password ssh -l root" -a ./web/public/stylesheets "$1:/root/chaipcr/web/public"
24-
rsync --delete --rsh="sshpass -p $remote_password ssh -l root" -a ./web/public/fonts "$1:/root/chaipcr/web/public"
25-
rsync --delete --rsh="sshpass -p $remote_password ssh -l root" -a ./web/public/images "$1:/root/chaipcr/web/public"
26-
rsync --delete --rsh="sshpass -p $remote_password ssh -l root" -a ./web/app/views "$1:/root/chaipcr/web/app"
22+
rsync --delete --rsh="sshpass -p $remote_password ssh -oStrictHostKeyChecking=no -l root" -a ./web/public/javascripts "$1:/root/chaipcr/web/public"
23+
rsync --delete --rsh="sshpass -p $remote_password ssh -oStrictHostKeyChecking=no -l root" -a ./web/public/stylesheets "$1:/root/chaipcr/web/public"
24+
rsync --delete --rsh="sshpass -p $remote_password ssh -oStrictHostKeyChecking=no -l root" -a ./web/public/fonts "$1:/root/chaipcr/web/public"
25+
rsync --delete --rsh="sshpass -p $remote_password ssh -oStrictHostKeyChecking=no -l root" -a ./web/public/images "$1:/root/chaipcr/web/public"
26+
rsync --delete --rsh="sshpass -p $remote_password ssh -oStrictHostKeyChecking=no -l root" -a ./web/app/views "$1:/root/chaipcr/web/app"

web/app/views/layouts/application.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" href="/stylesheets/application-debug.css" media="all">
8+
<link rel="stylesheet" href="/stylesheets/application-33a47fc9a18c239d97adf6407ffa86.css" media="all">
99
<link rel="shortcut icon" href="favicon.ico?v=4" />
10-
<script type="text/javascript" src="/javascripts/application-debug.js"></script>
10+
<script type="text/javascript" src="/javascripts/application-56b7a332d2a6f00b7520936b2e9e51.js"></script>
1111
<%= csrf_meta_tags %>
1212
</head>
1313
<body>

0 commit comments

Comments
 (0)