Skip to content

Commit 437f656

Browse files
Update scraper target branch (#3231)
* update target branch
1 parent dab996a commit 437f656

5 files changed

+21
-25
lines changed

.github/workflows/scraper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Run scraper and update docs search
22
on:
33
push:
44
branches:
5-
- mintlify-iso
5+
- main
66

77
jobs:
88
await-mintlify-deploy:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X POST 'MEILISEARCH_URL/indexes/movies/documents?primaryKey=id' \
6+
-H 'Content-Type: application/json' \
7+
-H 'Authorization: Bearer aSampleMasterKey' \
8+
--data-binary @movies.json
9+
```
10+
</CodeGroup>

snippets/samples/code_samples_getting_started_add_documents_md.mdx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<CodeGroup>
22

3-
```text cURL
4-
5-
6-
curl \
7-
-X POST 'MEILISEARCH_URL/indexes/movies/documents?primaryKey=id' \
8-
-H 'Content-Type: application/json' \
9-
-H 'Authorization: Bearer aSampleMasterKey' \
10-
--data-binary @movies.json
11-
12-
13-
```
14-
153
```text JS
164
175
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X POST 'MEILISEARCH_URL/indexes/movies/search' \
6+
-H 'Content-Type: application/json' \
7+
-H 'Authorization: Bearer aSampleMasterKey' \
8+
--data-binary '{ "q": "botman" }'
9+
```
10+
</CodeGroup>

snippets/samples/code_samples_getting_started_search_md.mdx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<CodeGroup>
22

3-
```text cURL
4-
5-
6-
curl \
7-
-X POST 'MEILISEARCH_URL/indexes/movies/search' \
8-
-H 'Content-Type: application/json' \
9-
-H 'Authorization: Bearer aSampleMasterKey' \
10-
--data-binary '{ "q": "botman" }'
11-
12-
13-
```
14-
153
```text JS
164
175

0 commit comments

Comments
 (0)