This commit is contained in:
parent
784bbd34de
commit
f6d53e46b0
13
.drone.yml
13
.drone.yml
|
@ -4,16 +4,19 @@ type: docker
|
||||||
clone:
|
clone:
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /src
|
||||||
|
|
||||||
name: Build and Deploy
|
name: Build and Deploy
|
||||||
steps:
|
steps:
|
||||||
- name: Build site with Hugo
|
- name: Build site with Hugo
|
||||||
image: plugins/hugo
|
image: floryn90/hugo:ext-alpine-ci
|
||||||
|
user: root
|
||||||
environment:
|
environment:
|
||||||
HUGO_SECURITY_HTTP_URLS: none
|
HUGO_SECURITY_HTTP_URLS: none
|
||||||
settings:
|
commands:
|
||||||
hugo_version: 0.136.2
|
- git submodule update --init --single-branch --depth=1
|
||||||
extended: true
|
- hugo
|
||||||
validate: true
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
Loading…
Reference in a new issue