try removing - from service name
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e51f964a64
commit
a66db0da6e
1 changed files with 5 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -16,8 +16,8 @@ steps:
|
|||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
- sleep 10
|
||||
- curl 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-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:8080/"
|
||||
- chmod 644 ./John-Shaver-Resume-2021.pdf
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
|
@ -35,7 +35,7 @@ steps:
|
|||
args: "-v --files-from=deploy-list.txt"
|
||||
|
||||
services:
|
||||
- name: resume-server
|
||||
- name: resume
|
||||
image: node
|
||||
commands:
|
||||
- "npx http-server"
|
||||
|
@ -62,7 +62,7 @@ steps:
|
|||
commands:
|
||||
- git submodule init
|
||||
- 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
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
|
@ -78,7 +78,7 @@ steps:
|
|||
args: "-v --files-from=deploy-list.txt"
|
||||
|
||||
services:
|
||||
- name: resume-server
|
||||
- name: resume
|
||||
image: node
|
||||
commands:
|
||||
- "npx http-server"
|
||||
|
|
Loading…
Reference in a new issue