sync all website

This commit is contained in:
Mylloon 2024-04-15 19:23:45 +02:00
parent 2eee0e111b
commit 626b52c6a9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,4 +1,5 @@
SYNC = unison
SYNC = unison
MKDIR = mkdir -p
SMB_APPDATA = /mnt/z
@ -9,7 +10,7 @@ HOME_SMB = /mnt/y/Anri
PROJECTS = $(HOME_WSL)/Projets
.PHONY: blog cv
.PHONY: cv site
main:
@ -20,5 +21,9 @@ gamejam:
cv:
@$(SYNC) $(HOME_SMB)/Boulot/CV $(PROJECTS)/cv
blog:
@$(SYNC) $(SMB_APPDATA)/site/data/blog $(PROJECTS)/blog
site:
@$(MKDIR) site
@$(SYNC) $(SMB_APPDATA)/site/data/index.md $(PROJECTS)/site/index.md
@$(SYNC) $(SMB_APPDATA)/site/data/blog $(PROJECTS)/site/blog
@$(SYNC) $(SMB_APPDATA)/site/data/contacts $(PROJECTS)/site/networks
@$(SYNC) $(SMB_APPDATA)/site/data/projects $(PROJECTS)/site/portfolio