This commit is contained in:
parent
66d7cd6221
commit
88d71f1f4f
1 changed files with 4 additions and 7 deletions
11
.drone.yml
11
.drone.yml
|
@ -29,9 +29,7 @@ steps:
|
||||||
prescript:
|
prescript:
|
||||||
- mkdir -p /var/www/jshaver_net/stage/${DRONE_BRANCH}/resume
|
- mkdir -p /var/www/jshaver_net/stage/${DRONE_BRANCH}/resume
|
||||||
recursive: true
|
recursive: true
|
||||||
args:
|
args: "-v --files-from=deploy-list.txt"
|
||||||
- "-v"
|
|
||||||
- "--files-from=deploy-list.txt"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: resume-server
|
- name: resume-server
|
||||||
|
@ -60,7 +58,8 @@ steps:
|
||||||
- name: build-resume
|
- name: build-resume
|
||||||
image: jshaver/root-browserless-chrome
|
image: jshaver/root-browserless-chrome
|
||||||
commands:
|
commands:
|
||||||
- "sleep 10"
|
- git submodule update --recursive --remote
|
||||||
|
- sleep 3
|
||||||
- "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;"
|
- "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
|
||||||
|
@ -73,9 +72,7 @@ steps:
|
||||||
source: ./
|
source: ./
|
||||||
target: /var/www/jshaver_net/resume
|
target: /var/www/jshaver_net/resume
|
||||||
recursive: true
|
recursive: true
|
||||||
args:
|
args: "-v --files-from=deploy-list.txt"
|
||||||
- "--files-from=deploy-list.txt"
|
|
||||||
- "-v"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: resume-server
|
- name: resume-server
|
||||||
|
|
Loading…
Reference in a new issue