From b0bd6ef8c9f292dd972ff77f8e5475d23658d0f7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 21 Sep 2019 16:11:27 +0100 Subject: [PATCH] Add CI config --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..f5238b2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,19 @@ +version: 2.0 + +jobs: + build: + docker: + - image: circleci/node:10.5.0-stretch-browsers + environment: + - npm_config_loglevel: notice + steps: + - checkout + - run: + name: Checkout submodules + command: git submodule sync && git submodule update --init + - run: + name: Install Hugo + command: wget https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_extended_0.55.6_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb + - run: + name: Build site + command: ./scripts/build.sh --minify