Commit Graph

7 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 33247773f4 Modify & create `rake` tasks. 2021-03-06 21:01:40 +09:00
Kazuhiro MUSASHI b32d4c2903 Use `xargs` for the Rake tasks. 2020-05-01 14:30:53 +09:00
Kazuhiro MUSASHI a3985fde39 Gzip the `.html` files. 2020-04-30 23:59:50 +09:00
Kazuhiro MUSASHI 3923fd264c Add `--minify` option to `Rakefile` task. 2020-04-18 23:04:21 +08:00
Kazuhiro MUSASHI 2cb2429110 [ci skip] Change the deployment target servres. 2020-01-05 19:12:34 +08:00
Kazuhiro MUSASHI 3b4bd88c15 オリジナルデータを/home/webadm/works/public配下にコピー
```
--- a/tasks/production.rake
+++ b/tasks/production.rake
@@ -16,5 +16,7 @@ task :prod => [:prep] do
   end

   sh 'ssh -p 10022 webadm@10.0.1.234 "rm -rf /var/www/blog/*"'
+  sh 'ssh -p 10022 webadm@10.0.1.234 "rm -rf /home/webadm/works/public/*"'
   sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.234:/var/www/blog'
+  sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.234:/home/webadm/works/public'
 end
```
2019-07-16 19:39:27 +08:00
Kazuhiro MUSASHI a892daa154 Create the production deploy task. 2019-06-29 19:33:48 +08:00