This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
snippets/.circleci/config.yml
2019-09-21 16:11:27 +01:00

19 lines
675 B
YAML

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