From c0debe8c47933340f0058b9c8b80b2d2b3a31944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Sun, 14 Apr 2024 00:32:14 +0200 Subject: [PATCH] _site --- .drone.yml | 2 +- build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3d1988a..c38db61 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: - name: build image: alpine:latest commands: - - apk update && apk add bash pandoc + - apk update && apk add bash jq pandoc - bash ./build.sh - mv _site /var/www/ diff --git a/build.sh b/build.sh index bc42a80..f7189fb 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,7 @@ set -x # bad start, we should build to a tmp dir +mkdir -p _site rm -rf _site/* touch _site/index.md buildDate="$(date '+%d %b %Y')"