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