From ee379e5bdc8043b26219f1e2bb56581fdf86dcea Mon Sep 17 00:00:00 2001 From: Niraj Tolia Date: Tue, 24 May 2022 00:31:00 -0700 Subject: [PATCH] Docs changes for GitHub Actions (#69) --- docs/Dockerfile | 2 +- docs/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/Dockerfile b/docs/Dockerfile index 9d93bb0d28..cd53d1002c 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -3,7 +3,7 @@ LABEL MAINTAINER="Niraj Tolia" ARG DEBIAN_FRONTEND=noninteractive -RUN apt-get -y update && apt-get -y install gpg emacs curl git \ +RUN apt-get -y update && apt-get -y install gpg emacs curl git make \ && curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \ && apt-get -y install nodejs \ && apt-get autoclean \ diff --git a/docs/Makefile b/docs/Makefile index 91ba622be0..c4ab57f904 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -8,12 +8,16 @@ dev: -p 3000:3000 \ -v ${PWD}:/usr/src/docs alcion/docs -check: +dockercheck: docker run --rm \ -v ${PWD}:/usr/src/docs alcion/docs vale docs README.md docker run --rm \ -v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/ +check: + vale docs README.md + markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/ + shell: docker run --rm -it \ -p 3000:3000 \