Add CI config
This commit is contained in:
parent
aa69c8b9ea
commit
b0bd6ef8c9
1 changed files with 19 additions and 0 deletions
19
.circleci/config.yml
Normal file
19
.circleci/config.yml
Normal file
|
@ -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
|
Reference in a new issue