From 64a2d86fb777e3c86bfa0c44c9526a6537cf49c7 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 29 May 2020 01:15:44 -0400 Subject: [PATCH] fix deploy step sudo pinhole --- .drone.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3982ee9..76dc0bc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,5 +26,5 @@ steps: - name: build commands: - cd /var/www/zine.tildeverse.org - - make all + - sudo -Hu www-data make all diff --git a/Makefile b/Makefile index 2dcd27d..3989d38 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DEST_DIR ?= dist # find all issues and determine required output files -ISSUES != find . -path "./issues/*" -type d +ISSUES != find ./issues/* -type d DEST_PDF_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.pdf) DEST_HTML_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.html) DEST_EPUB_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.epub)