Add app.ini

This commit is contained in:
Gal 2024-01-03 00:06:18 +07:00
parent b23db25632
commit 3575d3d662
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ upload-%:
scp $*/.env $(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_PATH)/$*/ scp $*/.env $(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_PATH)/$*/
@echo "✅ Uploaded .env file for $* service successfully." @echo "✅ Uploaded .env file for $* service successfully."
# Check if app.ini file exists for the service
if [ -f "$*/app.ini" ]; then \
echo "🚀 Uploading app.ini file for $* service..."; \
scp $*/app.ini $(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_PATH)/$*/; \
echo "✅ Uploaded app.ini file for $* service successfully."; \
fi
# Usage instructions # Usage instructions
help: help:
@echo "📋 Usage: make [target]" @echo "📋 Usage: make [target]"