From 626b52c6a97c0b3d7bcdf07b3c225bc8ab421c94 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Apr 2024 19:23:45 +0200 Subject: [PATCH] sync all website --- projets.mk | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/projets.mk b/projets.mk index 9e0c5aa..08c0f98 100644 --- a/projets.mk +++ b/projets.mk @@ -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