Add env
This commit is contained in:
parent
4c2d57de12
commit
7ec45a5f1d
|
@ -9,3 +9,4 @@ tsconfig.tsbuildinfo
|
||||||
private/
|
private/
|
||||||
.replit
|
.replit
|
||||||
replit.nix
|
replit.nix
|
||||||
|
.env
|
7
Makefile
7
Makefile
|
@ -1,14 +1,13 @@
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
|
# Load environment variables from .env file
|
||||||
|
include .env
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Available targets:"
|
@echo "Available targets:"
|
||||||
@echo " publish Restart Docker Compose (or run 'npx quartz build --serve' with local=True)."
|
@echo " publish Restart Docker Compose (or run 'npx quartz build --serve' with local=True)."
|
||||||
@echo " preview Run 'npx quartz build --serve' with specific directories."
|
@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
|
# Target-specific variables for the publish target
|
||||||
publish:
|
publish:
|
||||||
@./scripts/publish.sh "$(SOURCE_DIR)" "$(DEST_DIR)"
|
@./scripts/publish.sh "$(SOURCE_DIR)" "$(DEST_DIR)"
|
||||||
|
|
Loading…
Reference in New Issue