Fix ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Dominic Grimm 2022-02-18 20:40:59 +01:00
parent 9f316d0239
commit b9ead86903

View file

@ -22,7 +22,7 @@ steps:
settings:
restore: true
mount:
- ./docs
- ./docs/book
- name: docs
image: michaelfbryan/mdbook-docker-image
volumes:
@ -31,11 +31,6 @@ steps:
commands:
- cd docs
- mdbook build
- ls /cache/docs
- rm -rf /cache/docs
- mkdir /cache/docs
- cp -r book/* /cache/docs
- ls /cache/docs
depends_on:
- markdownlint
- restore-cache
@ -47,7 +42,7 @@ steps:
settings:
rebuild: true
mount:
- ./docs
- ./docs/book
depends_on:
- docs
@ -87,7 +82,7 @@ steps:
settings:
restore: true
mount:
- ./docs
- ./docker/backend/docs
- name: docs
image: crystallang/crystal:1.3-alpine
volumes:
@ -98,8 +93,6 @@ steps:
commands:
- cd docker/backend
- make docs
- mkdir -p /cache/docs/api
- cp -r docs/* /cache/docs/api
depends_on:
- ameba
- deps
@ -112,7 +105,7 @@ steps:
settings:
rebuild: true
mount:
- ./docs
- ./docker/backend/docs
depends_on:
- docs
- name: build
@ -176,7 +169,8 @@ steps:
settings:
restore: true
mount:
- ./docs
- ./docs/book
- ./docker/backend/docs
- name: deploy
image: ringcentral/sshpass
environment:
@ -190,7 +184,8 @@ steps:
- name: cache
path: /cache
commands:
- ls /cache/docs
- ls ./docs/book
- ls ./docker/backend/docs
volumes:
- name: cache