This commit is contained in:
Gal 2023-12-27 22:06:00 +01:00 committed by Galuh Sahid
parent 7c45eec14c
commit 4a9e82becb
2 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ tsconfig.tsbuildinfo
private/
.replit
replit.nix
.env

View File

@ -1,14 +1,13 @@
.DEFAULT_GOAL := help
# Load environment variables from .env file
include .env
help:
@echo "Available targets:"
@echo " publish Restart Docker Compose (or run 'npx quartz build --serve' with local=True)."
@echo " preview Run 'npx quartz build --serve' with specific directories."
# Default directories for the publish target
SOURCE_DIR = $(HOME)/Documents/obsidian/gal/Gal
DEST_DIR = $(HOME)/Workspace/heygal.space/content
# Target-specific variables for the publish target
publish:
@./scripts/publish.sh "$(SOURCE_DIR)" "$(DEST_DIR)"