From ca4afca51c223a7e7e9395d371ae056be8af61c1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 18 Apr 2018 22:15:33 +0300
Subject: [PATCH] Create an index.html symlink to resume.html, thus accessing
 the published directory using a webserver works out of the box.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 0aa2ee9..c3d61af 100644
--- a/Makefile
+++ b/Makefile
@@ -31,5 +31,6 @@ clean:
 
 publish: all
 	rsync -az resume.html resume.pdf resume.odt resume.docx $(SERVER):$(DEST)
+	ssh $(SERVER) "ln -sf resume.html $(DEST)/index.html"
 
 test: clean all
-- 
GitLab