try different submodule update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
John Shaver 2021-06-22 11:13:56 -07:00
parent c9cb70de57
commit 221cafa499

View file

@ -10,14 +10,11 @@ trigger:
- push - push
steps: steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --recursive --remote
- 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
@ -41,6 +38,7 @@ services:
- name: resume-server - name: resume-server
image: node image: node
commands: commands:
- git submodule update --recursive --remote
- "npx http-server" - "npx http-server"
--- ---
@ -83,5 +81,6 @@ services:
- name: resume-server - name: resume-server
image: node image: node
commands: commands:
- git submodule update --recursive --remote
- "npx http-server" - "npx http-server"