-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (25 loc) · 1.43 KB
/
makefile
File metadata and controls
27 lines (25 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
build: # Retrieve the note from obsidian
tail -n +2 Obsidian/Obsidian/combat-sports,\ hobby,\ personal-project,\ tips.md >> obsidian-html/index.md # When appending omit the first line of tags
cp -R Obsidian/Obsidian/.obsidian obsidian-html
cd obsidian-html && chmod +x transform.sh && ./transform.sh
cd obsidian-html && python -m obsidianhtml convert -i config.yml
tail -n +4 obsidian-html/output/md/index.md >> index.md
cp Obsidian/Obsidian/Screenshot\ 2024-03-21\ at\ 16.44.14.png . # Also add local images
cp Obsidian/Obsidian/Screen\ Shot\ 2024-06-07\ at\ 22.35.57.png .
cp Obsidian/Obsidian/Screen\ Shot\ 2024-06-07\ at\ 22.37.43.png .
cp Obsidian/Obsidian/Pasted\ image\ 20250309102150.png .
cp Obsidian/Obsidian/Pasted\ image\ 20250309104533.png .
cp Obsidian/Obsidian/IMG_2375.jpg .
cp Obsidian/Obsidian/Pasted\ image\ 20251029165539.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029172420.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029172920.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029174854.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029180217.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029181424.png .
cp Obsidian/Obsidian/Pasted\ image\ 20251029183327.png .
update: # update obsidian to have latest judo note
git submodule update --remote # Git knows what to update thanks to the .gitmodules file
git add .
git commit -m "Automatically update submodule to latest versions"
git push
.PHONY: build update