try removing - from service name
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
John Shaver 2021-07-04 01:34:24 -07:00
parent e51f964a64
commit a66db0da6e

View file

@ -16,8 +16,8 @@ steps:
- git submodule init - git submodule init
- git submodule update --recursive --remote - git submodule update --recursive --remote
- sleep 10 - sleep 10
- curl http://resume-server:8080/ - curl http://resume:8080/
- "google-chrome --headless --enable-logging=stderr -v=1 --no-sandbox --disable-gpu --run-all-compositor-stages-before-draw --virtual-time-budget=20000 --print-to-pdf='./John-Shaver-Resume-2021.pdf' http://resume-server:8080/" - "google-chrome --headless --enable-logging=stderr -v=1 --no-sandbox --disable-gpu --run-all-compositor-stages-before-draw --virtual-time-budget=20000 --print-to-pdf='./John-Shaver-Resume-2021.pdf' http://resume:8080/"
- chmod 644 ./John-Shaver-Resume-2021.pdf - chmod 644 ./John-Shaver-Resume-2021.pdf
- name: deploy - name: deploy
image: drillster/drone-rsync image: drillster/drone-rsync
@ -35,7 +35,7 @@ steps:
args: "-v --files-from=deploy-list.txt" args: "-v --files-from=deploy-list.txt"
services: services:
- name: resume-server - name: resume
image: node image: node
commands: commands:
- "npx http-server" - "npx http-server"
@ -62,7 +62,7 @@ steps:
commands: commands:
- git submodule init - git submodule init
- git submodule update --recursive --remote - git submodule update --recursive --remote
- "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:8080/ --virtual-time-budget=10000;"
- chmod 644 ./John-Shaver-Resume-2021.pdf - chmod 644 ./John-Shaver-Resume-2021.pdf
- name: deploy - name: deploy
image: drillster/drone-rsync image: drillster/drone-rsync
@ -78,7 +78,7 @@ steps:
args: "-v --files-from=deploy-list.txt" args: "-v --files-from=deploy-list.txt"
services: services:
- name: resume-server - name: resume
image: node image: node
commands: commands:
- "npx http-server" - "npx http-server"