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