Skip to content

Commit

Permalink
Try mount vignette dir into build
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Dec 23, 2021
1 parent 6dc1f33 commit 6c4530e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/build_website
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ DB_NAME=orderly
SCHEMASPY_NAME=vimc/orderly-schemaspy

DOCS_DIR=$PACKAGE_ROOT/docs
VIGNETTES_DIR=$PACKAGE_ROOT/vignettes

docker build \
--build-arg ORDERLY_BASE=$ORDERLY_BASE \
Expand Down Expand Up @@ -65,6 +66,7 @@ docker run --rm \
--network=$DB_NW \
-w /orderly \
-v $DOCS_DIR:/orderly/docs \
-v $VIGNETTES_DIR:/orderly/vignettes \
--user "$USER_STR" \
$ORDERLY_DEV \
Rscript -e 'pkgdown::build_site(document = FALSE)'
Expand Down

0 comments on commit 6c4530e

Please sign in to comment.