From 680c948249ab27d9ee82409958c3603591eef458 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Tue, 5 Jul 2022 14:51:22 +0200 Subject: [PATCH] Refactor .drone.yml --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e33a5e2..2f736ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,10 +5,12 @@ name: build-and-deploy steps: - name: build image: klakegg/hugo:alpine + environment: + HUGO_SECURITY_HTTP_URLS: none commands: - apk add --no-cache git - git submodule update --init --single-branch --depth=1 - - env HUGO_SECURITY_HTTP_URLS=none hugo + - hugo - name: deploy image: alpine/git:latest