1

Use external plugin to build site

This commit is contained in:
Vladimir Hodakov 2019-10-09 04:33:39 +04:00
parent 6bf871c0c4
commit 7216ba9f60
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -12,9 +12,11 @@ steps:
- git submodule update --init - git submodule update --init
- ls -lah themes/tango - ls -lah themes/tango
- name: build - name: build
image: fat0troll/hugo image: plugins/hugo
commands: settings:
- hugo -d tango.hodakov.me hugo_version: 0.58.3
pull: always
validate: true
- name: publish - name: publish
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
@ -29,7 +31,7 @@ steps:
rm: true rm: true
strip_components: 1 strip_components: 1
source: source:
- tango.hodakov.me/* - public/*
trigger: trigger:
branch: branch:
- master - master