From c7206278d3decce18fc800127ae2a8db356fb067 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Sun, 14 Sep 2025 19:15:25 +0200 Subject: [PATCH] make deploy depend on build to ensure slides are up to date --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f939748..2544543 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Makefile for Marp Slides Project -.PHONY: help build dev watch pdf html clean install +.PHONY: help build dev watch pdf html clean install deploy # Default target help: @@ -47,4 +47,9 @@ clean: # Install dependencies install: @echo "Installing dependencies..." - npm install \ No newline at end of file + npm install + +# Deploy slides +deploy: build + @echo "Deploying slides..." + scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/ \ No newline at end of file