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')"