Browse Source

fix deploy step sudo pinhole

master
Ben Harris 1 year ago
parent
commit
64a2d86fb7
  1. 2
      .drone.yml
  2. 2
      Makefile

2
.drone.yml

@ -26,5 +26,5 @@ steps:
- name: build
commands:
- cd /var/www/zine.tildeverse.org
- make all
- sudo -Hu www-data make all

2
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)

Loading…
Cancel
Save