Fix .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sam A. 2024-10-20 16:08:06 +02:00
parent 5df822545a
commit ea6e44ddd4
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,16 +1,23 @@
kind: pipeline
type: docker
clone:
depth: 1
workspace:
path: /src
name: Build and Deploy
steps:
- name: Fetch submodules
image: alpine/git
commands:
- git submodule update --init --single-branch --depth=1
- name: Build site with Hugo
image: floryn90/hugo:ext-alpine-ci
environment:
HUGO_SECURITY_HTTP_URLS: none
commands:
- git config --global --add safe.directory /drone/src
- git submodule update --init --single-branch --depth=1
- hugo
- name: Build and push Docker image
image: plugins/docker