Commit Graph

2 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 4307a8de8a Use `cibuilds/hugo:latest`:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,16 +2,14 @@ version: 2
 jobs:
   build:
     docker:
-      - image: debian:stretch
+      - image: cibuilds/hugo:latest

     steps:
       - checkout
-
       - run:
-          name: Greeting
-          command: echo Hello, world.
-
+          name: "Run Hugo"
+          command: HUGO_ENV=production hugo -v -s src/
       - run:
-          name: Print the Current Time
-          command: date
+          name: "Test Website"
+          command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
2019-05-04 18:49:31 +08:00
Kazuhiro MUSASHI 003a943a1d Add sample `config.yml`:
```
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,16 @@
+version: 2
+jobs:
+  build:
+    docker:
+      - image: debian:stretch
+
+    steps:
+      - checkout
+
+      - run:
+        name: Greeting
+        command: echo Hello, world.
+
+      - run:
+        name: Print the Current Time
+        command: date
```
2019-05-04 18:38:50 +08:00