amithjkamath commited on
Commit
8c2b348
·
unverified ·
1 Parent(s): 0544b07

Deploy: 2026-03-23 12:32:19

Browse files
Files changed (2) hide show
  1. .gitignore +10 -0
  2. Makefile +7 -1
.gitignore CHANGED
@@ -1,6 +1,16 @@
1
  __pycache__/
2
  *.pyc
 
3
  .venv/
4
  .env
5
  .DS_Store
6
  .streamlit/
 
 
 
 
 
 
 
 
 
 
1
  __pycache__/
2
  *.pyc
3
+ *.pyo
4
  .venv/
5
  .env
6
  .DS_Store
7
  .streamlit/
8
+ .pytest_cache/
9
+ .mypy_cache/
10
+ .ruff_cache/
11
+ .coverage
12
+ htmlcov/
13
+ .ipynb_checkpoints/
14
+ *.egg-info/
15
+ build/
16
+ dist/
Makefile CHANGED
@@ -10,7 +10,7 @@ SPACE ?= amithjkamath/rtssdiffviewer
10
  HF_REMOTE ?= hf
11
  DEPLOY_BRANCH ?= deploy
12
 
13
- .PHONY: check-uv venv install run test test-all fmt lint clean clean-venv clean-py deploy-init deploy status
14
 
15
  check-uv:
16
  @command -v $(UV) >/dev/null 2>&1 || { \
@@ -82,5 +82,11 @@ deploy-init:
82
  deploy:
83
  bash deploy.sh $(SPACE)
84
 
 
 
 
 
 
 
85
  status:
86
  @echo "Space URL: https://huggingface.co/spaces/$(SPACE)"
 
10
  HF_REMOTE ?= hf
11
  DEPLOY_BRANCH ?= deploy
12
 
13
+ .PHONY: check-uv venv install run test test-all fmt lint clean clean-venv clean-py deploy-init deploy deploy-now status
14
 
15
  check-uv:
16
  @command -v $(UV) >/dev/null 2>&1 || { \
 
82
  deploy:
83
  bash deploy.sh $(SPACE)
84
 
85
+ deploy-now:
86
+ $(MAKE) deploy-init
87
+ @git add -A && git commit -m "Deploy: $(shell date '+%Y-%m-%d %H:%M:%S')" || true
88
+ @git push $(HF_REMOTE) $(DEPLOY_BRANCH):main
89
+ @echo "Deployment complete. Space: https://huggingface.co/spaces/$(SPACE)"
90
+
91
  status:
92
  @echo "Space URL: https://huggingface.co/spaces/$(SPACE)"