Skip to content

Commit

Permalink
Fix typesense upload directory (#3189)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Aug 6, 2024
1 parent b1c4c93 commit 80a6c61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ jobs:
uses: actions/download-artifact@v3
with:
name: components-models-file
path: "components.json"
path: "components"
- name: Download the services models file
uses: actions/download-artifact@v3
with:
name: services-models-file
path: "services.json"
path: "services"
- run: pip install -r .github/workflows/requirements.txt
- name: "Update modular resources"
run: python3 .github/workflows/get_modular_resources.py
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/get_modular_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ async def main():
json_m)
print(insert_resp)

# Get built-in resources from components.json
with open('components.json') as f:
# Get built-in resources from components/typesense.json
with open('components/typesense.json') as f:
resources = json.load(f)
for r in resources:
print("RESOURCE")
Expand All @@ -71,8 +71,8 @@ async def main():
print("INSERTED")
print(insert_resp)

# Get built-in resources from services.json
with open('services.json') as f:
# Get built-in resources from services/typesense.json
with open('services/typesense.json') as f:
resources = json.load(f)
for r in resources:
print("RESOURCE")
Expand Down

0 comments on commit 80a6c61

Please sign in to comment.