make deploy depend on build to ensure slides are up to date
This commit is contained in:
9
Makefile
9
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
|
||||
npm install
|
||||
|
||||
# Deploy slides
|
||||
deploy: build
|
||||
@echo "Deploying slides..."
|
||||
scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
||||
Reference in New Issue
Block a user