Go to file
Kazuhiro MUSASHI c67daed5be Deploy
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,14 +6,6 @@ jobs:

     steps:
       - checkout
-      - add_ssh_keys:
-          fingerprints:
-            - "7d:eb:56:da:3f:71:e1:fd:2f:c1:86:18:fe:08:8b:f9"
-      - run:
-          name: Start ssh-keyscan
-          command: |
-            ssh-keyscan -p ${SSHPORT} ${HOST_NAME} >> ~/.ssh/known_hosts
-
       - run:
           name: Change Amazon Links
           working_directory: /root/project/
@@ -42,3 +34,17 @@ jobs:
             do
               gzip -c ${TARGET} > ${TARGET}.gz
             done
+
+      - add_ssh_keys:
+          fingerprints:
+            - "7d:eb:56:da:3f:71:e1:fd:2f:c1:86:18:fe:08:8b:f9"
+      - run:
+          name: Start ssh-keyscan
+          command: |
+            ssh-keyscan -p ${SSHPORT} ${HOST_NAME} >> ~/.ssh/known_hosts
+
+      - run:
+          name: Deploy
+          command: |
+            ssh -p i${SSHPORT} ${USER_NAME}@${HOST_NAME} "rm -rf /var/www/test/*"
+            rsync -e "ssh -p ${SSHPORT}" -az --delete public ${USER_NAME}@${HOST_NAME}:/var/www/test
```
2019-05-04 21:15:31 +08:00
.circleci Deploy 2019-05-04 21:15:31 +08:00
content Add `004-display-raster-style-data-leaflet.md`. 2019-05-04 15:33:06 +08:00
layouts List up the post category article only within post list page. 2019-04-16 16:10:58 +08:00
static/images initial commit 2019-03-31 19:00:21 +08:00
tasks Delete `test.rake` file. 2019-04-20 14:38:39 +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
config.toml initial commit 2019-03-31 19:00:21 +08:00