Refactor .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sam A. 2022-07-05 14:51:22 +02:00
parent 73aafc370d
commit 680c948249
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 3 additions and 1 deletions

View File

@ -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