Updated documentation step
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Dominic Grimm 2022-02-07 19:38:30 +01:00
parent e6ca32f68c
commit 59655aa3d7

View file

@ -2,6 +2,7 @@
kind: pipeline
type: docker
name: default
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine
@ -13,6 +14,7 @@ steps:
kind: pipeline
type: docker
name: backend
steps:
- name: ameba
image: veelenga/ameba
@ -23,11 +25,21 @@ steps:
image: boechat107/pgsanity
commands:
- pgsanity docker/backend/db/**/*.sql
- name: documentation
image: crystallang/crystal:latest-alpine
- name: deps
image: crystallang/crystal:1.3-alpine
volumes:
- name: lib
path: /drone/src/docker/backend
commands:
- cd docker/backend/
- shards install
- name: documentation
image: crystallang/crystal:1.3-alpine
volumes:
- name: lib
path: /drone/src/docker/backend
commands:
- cd docker/backend/
- shards install --production
- make docs
depends_on:
- ameba
@ -43,10 +55,14 @@ steps:
- ameba
- pgsanity
- documentation
volumes:
- name: lib
temp: {}
- name: dockersock
host:
path: /var/run/docker.sock
depends_on:
- default
@ -54,6 +70,7 @@ depends_on:
kind: pipeline
type: docker
name: frontend
steps:
- name: prettier
image: elnebuloso/prettier
@ -70,9 +87,11 @@ steps:
- docker-compose build --build-arg BUILD_ENV=development frontend
depends_on:
- prettier
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
depends_on:
- default