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