Go to file
Kazuhiro MUSASHI 71876190b9 Deploy blog site to the staging environment:
```
--- a/tasks/deploy.rake
+++ b/tasks/deploy.rake
@@ -12,8 +12,6 @@ task :deploy => [:build] do
     end
   end

-  sh 'rsync -e "ssh -p 10022" -az --delete public webadm@10.0.1.234:~/works'
-
-  sh 'ssh -p 10022 webadm@10.0.1.234 "rm -rf /var/www/blog/*"'
-  sh 'ssh -p 10022 webadm@10.0.1.234 "cp -pr ~/works/public/* /var/www/blog/"'
+  sh 'ssh -p 10022 webadm@10.0.1.234 "rm -rf /var/www/test/*"'
+  sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.234:/var/www/test'
 end
```
2019-05-06 11:12:44 +08:00
.circleci Modify minor typo...: 2019-05-04 22:09:18 +08:00
config Add config file for staging. 2019-05-04 21:30:18 +08:00
content Add `004-display-raster-style-data-leaflet.md`. 2019-05-04 15:33:06 +08:00
layouts Change base url based on the environment: 2019-05-04 21:42:30 +08:00
static/images initial commit 2019-03-31 19:00:21 +08:00
tasks Deploy blog site to the staging environment: 2019-05-06 11:12:44 +08:00
themes/angels-ladder Delete the `url` setting from the archetypes file. 2019-04-02 23:13:03 +07:00
.gitignore Ignore vim swap file. 2019-04-12 15:43:58 +07:00
.textlintrc initial commit 2019-03-31 19:00:21 +08:00
Rakefile initial commit 2019-03-31 19:00:21 +08:00