From d2e5369b7bfeb4cac5a98b88e5a6b0d9ec48bcbf Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 28 Mar 2020 23:05:36 -0700 Subject: [PATCH] Switch to using file:// for Chrome render. I don't think the web server is started in this mode --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b10a57..a10dc70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,8 +10,7 @@ steps: - name: build-resume image: pink33n/html-to-pdf commands: - - cp -r resume.html css /workspace - - chrome-headless-render-pdf --chrome-binary=/usr/local/bin/chrome-wrapper --url http://localhost/resume.html --pdf /resume-output/Resume-Danila-Fedorin.pdf + - chrome-headless-render-pdf --chrome-binary=/usr/local/bin/chrome-wrapper --url file://$(pwd)/resume.html --pdf /resume-output/Resume-Danila-Fedorin.pdf volumes: - name: resume-output path: /resume-output