Skip to content

Commit 60eaf8f

Browse files
committed
Test dev and prod
1 parent 0d7bc41 commit 60eaf8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/update-docs-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to Dev Firestore
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ anusha/pinecone-github-action ]
66

77
jobs:
88
deploy-dev:

.github/workflows/update-docs-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to Prod Firestore
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ anusha/pinecone-github-action ]
66

77
jobs:
88
deploy-prod:

update_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_changed_files() -> Tuple[List[str], List[str], Dict[str, str]]:
9494
changed_files, new_files, git_success = get_git_changed_files()
9595

9696
# If Git diff failed, fall back to processing all files for safety
97-
if not git_success:
97+
if not git_success or len(changed_files) == 0:
9898
print("🔄 Git diff failed - processing all files to ensure no changes are missed")
9999
print("⚠️ This is a safety fallback to prevent missing updates")
100100
all_files = _get_all_markdown_files()

0 commit comments

Comments
 (0)