From f70dc333e354c9c5153f8b3ffdd12bb39463ad36 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 13 Apr 2020 15:50:18 +0200 Subject: [PATCH] use makefile during ci docs generation --- .drone.jsonnet | 7 +++---- .drone.yml | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 5dce94f..add7082 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -183,11 +183,10 @@ local PipelineDocs = { }, steps: [ { - name: 'assets', - image: 'byrnedo/alpine-curl', + name: 'generate', + image: 'python:3.8', commands: [ - 'mkdir -p docs/themes/hugo-geekdoc/', - 'curl -sSL https://github.com/xoxys/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1', + 'make doc', ], }, { diff --git a/.drone.yml b/.drone.yml index f81c9d3..8ae6ec7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -208,11 +208,10 @@ concurrency: limit: 1 steps: -- name: assets - image: byrnedo/alpine-curl +- name: generate + image: python:3.8 commands: - - mkdir -p docs/themes/hugo-geekdoc/ - - curl -sSL https://github.com/xoxys/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1 + - make doc - name: test image: klakegg/hugo:0.59.1-ext-alpine @@ -306,6 +305,6 @@ depends_on: --- kind: signature -hmac: 39dee08847508a70f012e80d78c1d2e79fd37f9307b8bca4a8aeaa2d59c68645 +hmac: 6acc4879e65978ae67d1bb8d625f0227cabac334980ee22acdb9f4933d0e4459 ...