This commit is contained in:
parent
cfab74acba
commit
4aefd44710
1 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,7 @@ steps:
|
||||||
image: browserless/chrome
|
image: browserless/chrome
|
||||||
commands:
|
commands:
|
||||||
- "sleep 6"
|
- "sleep 6"
|
||||||
- "google-chrome --headless --disable-gpu --run-all-compositor-stages-before-draw --print-to-pdf='./John-Shaver-Resume-2021.pdf' http://resume-server:8080/ --virtual-time-budget=10000;"
|
- "google-chrome --headless --no-sandbox --disable-gpu --run-all-compositor-stages-before-draw --print-to-pdf='./John-Shaver-Resume-2021.pdf' http://resume-server:8080/ --virtual-time-budget=10000;"
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
settings:
|
settings:
|
||||||
|
@ -66,3 +66,9 @@ steps:
|
||||||
recursive: true
|
recursive: true
|
||||||
args:
|
args:
|
||||||
- "--files-from=deploy-list.txt"
|
- "--files-from=deploy-list.txt"
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: resume-server
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- "npx http-server"
|
||||||
|
|
Loading…
Reference in a new issue