Skip to content

Commit

Permalink
Try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devpro committed Oct 16, 2024
1 parent 69dda3c commit 5e4f1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5e4f1f3

Please sign in to comment.