diff --git a/taskfile.yml b/taskfile.yml index 9c65b0a..3992ee7 100644 --- a/taskfile.yml +++ b/taskfile.yml @@ -37,13 +37,13 @@ tasks: DEST_FOLDER: '../dist' cmds: - mkdir -p $DEST_FOLDER/assets/images - - cp -r assets/images/*.* $DEST_FOLDER/assets/images/ # - npm run build src/index.md -- --base presentations -o ../$DEST_FOLDER - | for file in "$SRC_FOLDER"/*.md; do filename=$(basename "$file" .md) npm run build "$SRC_FOLDER/$filename.md" -- --base "presentations/$filename" -o "../$DEST_FOLDER/$filename" done + - cp -r assets/images/*.* $DEST_FOLDER/assets/images/ # must be done after so it's not erased by other builds (MkDocs in particular) nginx:start: cmds: