homepage/.drone.yml
surtur f49929e49d
Some checks reported errors
continuous-integration/drone/push Build encountered an error
updated .drone.yml + hugo config
* attempting to build the site with hugo-extended
* replaced old references with relevant paths
2020-02-27 23:34:34 +01:00

24 lines
535 B
YAML

kind: pipeline
type: docker
name: hugo_builder
steps:
- name: hugo-std
pull: if-not-exists
image: plugins/hugo
settings:
hugo_version: 0.65.3
validate: false
commands:
- git submodule init
- git submodule update
- hugo --gc=true
- name: hugo-extended
pull: if-not-exists
image: archlinux/archlinux-docker
commands:
- pacman -Syu --noconfirm wget tar
- wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.tar.gz | tar xfv -
- ./hugo --gc=true